facebook API错误:未捕获OAuthException:验证访问令牌时出错 [英] facebook API error : Uncaught OAuthException: Error validating access token

查看:241
本文介绍了facebook API错误:未捕获OAuthException:验证访问令牌时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到这个错误

致命错误:未捕获OAuthException:验证访问令牌时出错。抛在/home/techtud1/public_html/library/facebook.php第543行

Fatal error: Uncaught OAuthException: Error validating access token. thrown in /home/techtud1/public_html/library/facebook.php on line 543

我是Facebook开发的新手,但我正在使用这个确切的步骤教程
http:// www .joeyrivera.com / 2010 / facebook-graph-api-app-easy-w-php-sdk /
当我试图获取用户的信息,我有一次,但是当我试过再次做到这一点我有这个错误。无论我在做什么,我都会收到这个错误。

i'm a newbie to facebook development but i'm using the exact steps of this tutorial http://www.joeyrivera.com/2010/facebook-graph-api-app-easy-w-php-sdk/ when i tried to get the information of the user i got it once , but when i tried to do it again i got this error . and whatever i'm doing , i'm getting this error as a result

帮助PZ

推荐答案

如果您的应用程序是FBML,则header()不起作用。你需要使用fb:redirect

If your application is FBML, header() doesnt work. You need to use fb:redirect

http://developers.facebook.com/docs/reference/fbml/redirect/

这篇关于facebook API错误:未捕获OAuthException:验证访问令牌时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆