在检索LIKES时OAuthException Facebook

时间:2014-06-26 16:27:34

标签: php facebook facebook-graph-api

我正在使用来自Web应用程序PHP SDK的Facebook图形API。 从昨天开始,我在这次电话会议上遇到了很多错误:

$ temp_ar = $ facebook-> api('/ me / music?limit = 200& offset = 0');

此呼叫以前一直运作良好,对某些用户来说仍然有效。对于某些用户来说,它不再起作用......这里有一些调试细节:

FacebookApiException Object
(
    [result:protected] => Array
        (
            [error] => Array
                (
                    [message] => An unknown error has occurred.
                    [type] => OAuthException
                    [code] => 1
                )

        )

[message:protected] => An unknown error has occurred.
    [string:Exception:private] =>
    [code:protected] => 0
    [file:protected] => /home/..../base_facebook.php
    [line:protected] => 1325
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/....base_facebook.php
                    [line] => 896
                    [function] => throwAPIException
                    [class] => BaseFacebook
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [error] => Array
                                        (
                                            [message] => An unknown error has occurred.
                                            [type] => OAuthException
                                            [code] => 1
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [function] => _graph
                    [class] => BaseFacebook
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /me/music?limit=200&offset=0
                        )

                )

1 个答案:

答案 0 :(得分:0)

这肯定是Facebook的一个bug,今天已经修复了 https://developers.facebook.com/bugs/251759635025024/