flex - Facebook Graph API and friend's email -


there question on stackoverflow facebook & email, after reading them still have problem retrieving users emails.

our app implemented on flex , uses rest api. , used notifications.sendemail. app has publish_stream , email permissions (checked users.hasapppermission).

i tried users.getinfo proxied_email address. function not return email address of friend..

then performed following test using graph api , web browser:

  1. opened following link authorization extended permissions:

    https://graph.facebook.com/oauth/authorize?client_id=[app_id]&scope=publish_stream,offline_access,email&redirect_uri=http://www.facebook.com/connect/login_success.html

it returned code retrieving access_token

  1. oppened following link retrieving access_token

graph.facebook.com/oauth/access_token?client_id=[app_id]&client_secret=[secret]&code=[code]&redirect_uri=http://www.facebook.com/connect/login_success.html

it returned access_token. , can use graphapi.

  1. tested account

graph.facebook.com/me?access_token=[token]

ok. returned emal.

  1. tested friend

    graph.facebook.com/[friend_id]?access_token=[token]

and here no email field!

so questions are

where did go wrong? possible friend's email via facebook api (graphapi or rest api)?

thanks.

email permission gives access email only.

if @ extended permissions page says:

likewise, protect privacy of users have not explicitly authorized application, application able access basic profile information user's friends, names , profile pictures. if application needs access other data user's friends enable social functionality, need request of special friends permissions listed below.

and if @ table below, says "not available" email permission friends.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -