Facebook graph API - OAuth Token

后端 未结 11 1836
小鲜肉
小鲜肉 2021-01-30 09:16

I\'m trying to retrieve data using the new graph API, however the token I\'m retriving from OAuth doesn\'t appear to be working.

The call I\'m making is as follows;

11条回答
  •  清酒与你
    2021-01-30 10:04

    Make sure you have url encoded your query parameters, your one should actually be:

    000000000000%7CAaaAaaAaaAAaAaaaaAaaAa0aaAA
    

    Note: also the type parameter seems to be required, without it you also get 500 error with message:

    {
       "error": {
       "type": "OAuthException",
       "message": "Error validating verification code."
       }
    }
    

    rather than the message you get with other missing parameters. Cannot see that mentioned in the documentation.

提交回复
热议问题