非常奇怪的错误.我使用gide http://developers.facebook.com/docs/authentication/.所以我创建了对fb的请求并传递了redirect_uri.我在localhost上使用测试站点.所以,如果我通过
redirect_uri = http://localhost/test_blog/index.php
它工作正常,但如果我通过
redirect_uri = http://localhost/test_blog/index.php?r = site/oauth2
它不想要工作.我尝试使用
redirect_uri =.urlencode(' http://localhost/test_blog/index.php?r = site/oauth2)
但不行.我尝试解释.我成功获得代码,但当我访问https://graph.facebook.com/me?access_token时,我收到错误'错误验证验证码'.我检查过,错误是在?r = site/oauth2但我需要传递一些参数可以有人帮助我吗?我读了http://forum.developers.facebook.net/viewtopic.php?id=70855的帖子,但对我来说没什么用