我在創建對話框時要求用戶登錄我的Facebook標籤頁以輸入比賽時出現問題。Facebook FB.ui oauth對話框錯誤
我們試圖用以下代碼使用FB.ui oauth對話框。
FB.ui({
client_id: '12345',
method: 'oauth',
scope: 'email,user_birthday',
response_type: 'token',
redirect_uri: "https://mydomain.com/test.php" // Change this to proper address
});
當我們包括我們得到以下信息
API Error Code: 100 API Error Description: Invalid parameter Error Message: The "redirect_uri" parameter cannot be used in conjunction with the "next" parameter, which is deprecated.
我們沒有使用下一個參數雖然任何地方REDIRECT_URI,所以不知道它爲什麼這麼說。
當我們拿走redirect_uri
時,我們得到以下消息。
API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: redirect_uri is not owned by the application.