Facebook User Authentication: Get access to user data

This is the extension of my previous article on facebook share. But, no need of prior knowledge. Proceed from here.

After registering a developer account @ https://developers.facebook.com/ , create an app.
Note the App-Id and don't forget to add the redirect url under the app settings section.
Also add all the access permissions you would like to get from the user under Auth Dalog section.

All these permissions are to be used later to retrieve corresponding data.

URL pattern to implement the authentication is as follows:

http://m.facebook.com/dialog/oauth?client_id=<APP-ID>
&redirect_uri=<PATH- TO-TARGETTED-LOCATION>
&scope=<ALL-THE-PERMISSIONS-LIKE-email,offline_access>
&response_type=token

Just modify the CAPITAL lettered data, and for the redirect-url no need of using quotation marks("")

0 comments:

Post a Comment

Popular Labels

Featured Post (TOP)

Flickr Images

Follow Me on Facebook.com

Follow on Google+

Recent Posts

AD (728x60)

Pages

Powered by Blogger.

Labels

Followers

Popular Posts

Popular Posts

Subscribe Via Email

Sign up for our newsletter, and well send you news and tutorials on web design, coding, business, and more! You'll also receive these great gifts: