当我包含我的应用程序访问令牌时,它会抱怨:
an active access token must be used to query information about the current user.
我不明白我怎么能同时包含两者?我需要同时提供两者还是我做错了什么?
我已经尝试了以下所有方法,但没有任何乐趣:
FB.api('/me/MY_NAMESPACE:MY_ACTION?access_token=USER_ACCESS_TOKEN', 'post', { object: 'http://example.com/', access_token: 'MY_APP_TOKEN'})
FB.api('/me/MY_NAMESPACE:MY_ACTION?access_token=MY_APP_TOKEN', 'post', { object: 'http://example.com/', access_token: 'USER_ACCESS_TOKEN'})
FB.api('/me/MY_NAMESPACE:MY_ACTION?access_token=USER_ACCESS_TOKEN', 'post', { object:'http://example.com?access_token=MY_APP_TOKEN'})
FB.api('/me/MY_NAMESPACE:MY_ACTION?access_token=MY_APP_TOKEN', 'post', { object: 'http://example.com?access_token=USER_ACCESS_TOKEN'})