How would I go about generating a long-lived access token for Facebook Graph API so that I can access the JSON data of any Facebook page?
Generate long-lived access token for Facebook Graph API?
800 Views Asked by user3226932 At
1
There are 1 best solutions below
Related Questions in JSON
- getting undefined while iterating json
- How can I serialize a numpy array while preserving matrix dimensions?
- What is best way to check if any of the property of object is null or empty?
- How to query JSON data according to JSON array's size with Spark SQL?
- Extracting data from json_decode with lat and lng geolocation
- Convert JSON.gz to JSON in node js
- How do I get the type to convert to when deserializing from Jackson
- Escape dot in jquery validate plugin
- Are allOf and properties keywords interchangeable?
- Sort continents by amount of countries
- Is there a data format lighter than json?
- Object of class CS_REST_Wrapper_Result could not be converted to string in CAMPAIGN MONITOR
- How to read JSON data from a web server running PHP and MySQL?
- Parse Nsmutabledictionary and extract value
- Handle empty JSON values in Java
Related Questions in FACEBOOK-ACCESS-TOKEN
- Unable to post to facebook page using app token
- Renew a Long-Lived token used at server side with an Angular application and FB SDK
- Access Token of Facebook changed by user, How to get call back for Access Token?
- Tip needed: How to check if API request comes from my app (using Facebook Tokens)?
- Authenticating with Facebook Graph API
- How to update facebook page likes when a new like is made by user?
- Is there any dependency between the cookies from Facebook and Access_Token
- get the current scope of the users oauth token in Google API?
- Get facebook access token with java code
- Trying to store a Facebook access token in DB. Token always stores as the string "css"
- Retriving Facebook posts from Profile via FB api
- Renew (or Exchange )access token (without admin user interaction) from the access token which is about to expire
- Why Facebook Graph does not allow me to delete a post?
- Retrieve all Facebook access tokens of an app
- How to keep logged in facebook with unity SDK
Related Questions in FACEBOOK-PAGE
- Can't Post to Facebook Page using JS
- Retrieve /feed or /tagged on facebook community pages
- Facebook login on page app using php sdk
- Is it possible to style the new Facebook Page Plugin?
- Facebook URL - Angularjs how to get current url
- Are Facebook Messenger page-scoped IDs globally unique?
- Show website 'likes' on facebook page
- Get Facebook user's page likes iOS
- add app on facebook fanpage with facebook sdk C#
- How to upload image to existing fan page if the user is not the administrator fan page?
- Use a web crawler to get data from a Facebook page
- SDK php , add news in Public wall
- Linking Facebook app to existing facebook page on different accoun
- Publishing Photo on Fan Page album
- Get facebook page rate and reviews using Graph api
Related Questions in FACEBOOK-GRAPH-API-V2.2
- Facebook - "Cannot query users by their username" solution
- Facebook Graph API List pages where I'm a "Live Contributor" Role
- facebookConnectPlugin.showDialog is not showing image on share dialog
- This app has no Android Key hashes configured. - Login with Facebook SDK
- how can i use extracted data from facebook graph api
- Why does my shared post call from graph api return empty result?
- Is there API to get someone's facebook profile with out login to facebook?
- Error: Unable to access the Facebook post
- Post in facebook with APIGRAPH
- How does Tinder gets mutual friends despite Facebook API v2.x
- Facebook Graph API group events and authentication
- Should include_headers be placed that way?
- Facebook Graph API for finding sent request and recieved request
- how to fetch on-line friends list using graph api v2.2?
- Is Graph API 2.x necessary to upgrade facebook php sdk from version 3.2.3 to 4.0.0
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use an App Access Token that is valid forever. The downside is that you will not get data from restricted Pages (by age or country). For that, you would have to use a User Access Token. An Extended User Access Token is only valid for 60 days though. Extended Page Tokens are valid forever, but you can only generate them for Pages you own.
You can create an App Access Token easily by just combining your App ID and App Secret, this would be it in PHP:
How to generate all the different Access Tokens is explained in detail in the following articles: