Facebook API unsupported get request

断了今生、忘了曾经 提交于 2019-12-23 16:07:33

问题


I am posting Open Graph actions using the PHP SDK. Randomly about 1 in 20 of these actions turns up on the wall as normal but I am unable to access or delete it through the API. Trying to do so errors with "unsuported GET request" or "unsupported delete request". These actions are thus stuck forever on the timeline unless user removes them using Facebook.

My guess is that it's an access token issue, but what cause and solution?

UPDATE

I found a bug in my code where an action was sometimes deleted twice, hence the exception. I take issue with the error code however, which is the same one returned for a host of things, most of them access token related. A simple "alias does not exist" would have saved me a lot of hair pulling.

来源:https://stackoverflow.com/questions/13944405/facebook-api-unsupported-get-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!