"The access token does not belong to application" Trying to generate long lived Access Token
facebook, facebook-access-token, facebook-graph-api
Solution
Go back to the Graph API Explorer where you generated the token.
Make sure that you selected your app from the drop-down at the top where it says "Application[?]"
If you don't it defaults to 'Graph API Explorer' and that will be of no use to you. Once you get the token made for the correct app, try again using this URL: (replace NNNN with the correct data)
https://graph.facebook.com/oauth/access_token?client_id=NNNN&client_secret=NNNN&grant_type=fb_exchange_token&fb_exchange_token=NNNN
Problem
I am having problems generating long lived Access Token to update Facebook page from my desktop application. I created a Facebook App associated with my Facebook user and stored it's app id and secret. I created a facebook page associated with my Facebook user account. I can create a short lived (60 minutes) access token for my app. My desktop application is able to post to my Facebook page using the short lived access token. However, this only lasts 60 seconds and is therefore impractical. I have been trying to generate a long lived access token using the guidance here: Request a Page Access Token in C# SDK However I receive an error: "The access token does not belong to application XXXXXXXXXXXXXXX" When I try enter my short lived access token in the debug tool the box, it confirms that the access token is mine BUT it shows a different app id. Where does this different app id come from? I only have one Facebook app defined. I think I might be missing a fundamental point here. Many thanks for any help you can give.