我刚用facebook图形API构建了一个应用程序,它一直运行到现在......
每当我访问我的网站时,我现在都会收到错误
Uncaught FacebookApiException: Unsupported operation thrown on line 1254
这是第1254行
$e = new FacebookApiException($result);
当我运行调试时,这就是我得到的
Open Graph Warnings That Should Be Fixed
Inferred Property:
The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property:
The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property:
The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.
有谁知道造成这种情况的原因是什么?
答案 0 :(得分:0)
您必须先登录Facebook应用,然后才能调用图形API。 我在
之外进行了API调用if ($user_is_logged_in)
do this
应该知道,但这是一个诚实的错误!