Showing posts with label extend facebook access token. Show all posts
Showing posts with label extend facebook access token. Show all posts

Friday, October 14, 2016

Build your own facebook app

Objective : – In this article we will have look on the new changes which facebook has made for the “Facebook GRAPH API”.
In this article we will have look on the detail steps which we need to follow to create “Facebook App” for website.
Steps: -
image
  • Click on the option “My Apps” and than select option “Add a New App”
image
  • A pop-up will appear on the screen on the pop-up you need to mention “Display Name”, “Contact Email” and choose suitable “Category”.
image
  • Once you “Create App” you will be redirected to “App Dhashboard”. Please have look on the below screen
image
  • Next important step would be to find the “App ID” and “App Secret”. To find those details just click on the “Dashboard” link below your app name e.g. “NewDemoApp”.
image
  • Next step would be to make your facebook app public to people, so that everyone can use your facebook app. To make the app public just click onto the link “App Review” and enable button located under “Make NewDemoApp public?”
image
image
Now you facebook application is ready with v2.8 version.
Conclusion:-
  1. Following the above steps you are now familiar with the “http://developers.facebook.com”
  2. After reading this article, now you can create your own facebook app with APP ID, App Secret.
Click Here: - How to create facebook access token?

Tuesday, July 28, 2015

How to extend facebook access token



To extend the facebook token goto the URL https://developers.facebook.com/tools/access_tokens and look for the application name which you have created. In our case the application name is “DummyTestApplication”

 

Once you see the application name just click on the link “need to grant permissions” under the User Token section. After clicking on the above link you will get following message than click on continue.



After you click on the continue option your will be able to see the token in the user token section of the page. Please refer the screen shot below : -


Now you have the user token which only valid for one hour or so. You can test your token validity at https://developers.facebook.com/tools/debug/ .
Just copy the access token and paste it here and click on the Debug button


We need to extend this token for longer duration. There two ways to extend the access token .
-          Click on the Extend access token button available just below the Access token debugger screen
-          Second option would be : User the following URL
-          (* You can get the AppID, App Secret from application page which you have created)
-          Once you submit above URL you will the new access_token on the browser
-          You can use this access token