facebook - Logging out automatically when using Graph search api -


I have a list of customer numbers for which I need to use the Facebook User Data Graph Search API. I have generated a user access token from the developers. It has been used in Facebook.com / Tools / Explorer / and in my Java program that receives YouTube data using the Graph API for each number in my list. After some time my Facebook login is auto-logging and I'm unable to access the access tokens in http requests. Even when I use the graph API when I log in and create a new user access token, the Facebook logout is coming automatically. You are not being "logged out," but the entry token is likely to be outdated. Perhaps you are using a so-called Short Term Access Token, which is valid for up to two hours. Graph API Explorer generates such type of token. But alpha-alive people are likely to exchange with a graph api endpoint with so-called longevity people (valid for 60 days).

Check out my answer here:


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -