CS6320:  SW Engineering of Web Based Systems

 

Facebook: Basic User Data from Authentication

 

Basic information is the minimum set of information allowed to an application from a user - it includes access to using the graph api to get a lot of social data!!! But, somethings like email and newsfeed are not given in basic.

If you have only requested the "basic" information for your application like here:

https://www.facebook.com/dialog/oauth?
     client_id=YOUR_APP_ID&redirect_uri=YOUR_CANVAS_PAGE

basic info

 

 

You get the following information------the signed_request parameter will contain the following information on subsequent requests to your app from this user.

Name Description
user A JSON array containing the locale string, country string and the age object (containing the min and max numbers of the age range) for the current user.
algorithm A JSON string containing the mechanism used to sign the request.
issued_at A JSON number containing the Unix timestamp when the request was signed.
user_id A JSON string containing the Facebook user identifier (UID) of the current user.
oauth_token A JSON string that you can pass to the Graph API
expires A JSON number containing the Unix timestamp when the oauth_token expires.

 

BASIC INFO ---- Critical: Graph API

you can use the oauth_token and the Graph API to access further information!!!!!!

SEE https://developers.facebook.com/docs/graph-api/reference/user

  • Name
  • Gender
  • Profile Picture
  • List of Friends
© Lynne Grewe