Background:
Facebook Documentation: Access Tokens
Using the like above you can see Facebook's documentation for the process I am trying to accomplish.
That is, I have server API's that have already successfully authenticated and linked to a Facebook user's account and I have a long term token on our servers. Using the long term token (via server side) I am trying to generate a "client code" (as Facebook calls it) in order to send down to one of our iOS client apps. Which the client app can then use to create a long term token of it's on in order to use the SDK locally.
Steps Taken:
Issue:
I get the following error message returned:
"error": {
"message": "An unknown error has occurred.",
"type": "OAuthException",
"code": 1
}
Questions:
The "issue" was there was a bug with Facebook's code. Bug was reported, fixed and now working with no issues.