我试图添加一个应用程序到我的Facebook粉丝页帐户oAuth登录。
我不想一个TAB,所以我想可能工作方法是method: 'apprequests'
但我不断收到一个错误:An error occurred with Prayerfish Login. Please try again later.
如何在获取应用程序到我的粉丝专页有什么建议?
注**此html页面是facebooks tutorial将应用程序添加到Facebook粉丝页错误
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<title>My Add to Page Dialog Page</title>
</head>
<body>
<div id='fb-root'></div>
<script src='http://connect.facebook.net/en_US/all.js'></script>
<p><a onclick='addToPage(); return false;'>Add to Page</a></p>
<p id='msg'></p>
<script>
FB.init({appId: "****************", status: true, cookie: true});
function addToPage() {
// calling the API ...
var obj = {
//method: 'pagetab',
method: 'apprequests',
redirect_uri: 'https://www.myDomain.com',
};
FB.ui(obj);
}
</script>
</body>
</html>
这个程序是为oAuth,不会有任何内容,所以它不应该是访客可见。我需要一些'用户和朋友权限'。并再次这是一个粉丝页面 – 2012-07-24 21:47:28
我不确定你的意思是“这个应用程序是oAuth” - 你的意思是认证用户? – 2012-07-24 21:51:14
是的,用于身份验证 – 2012-07-24 21:52:41