我正在爲我的應用程序創建一個登錄名,其當前位於locahost中。我在Facebook上創建了一個應用程序。如何在本地主機上爲Facebook應用程序執行連接請求
現在,當我嘗試訪問此網址:https://www.facebook.com/dialog/oauth?client_id=my_app_id&redirect_uri=http://localhost:8080/
我得到這個錯誤:
Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
然後我試圖localhost
添加到我的應用程序設置App Domains
和我在那裏得到另一個錯誤,不能保存它:
This must be derived from Secure Canvas URL, Unity Binary URL, Site URL, Mobile Site URL or Secure Page Tab URL. Check and correct the following domains: localhost
我做錯了嗎?或者什麼是爲本地主機做正確的方式?
那麼,消息中提到的URL是否以http(s):// localhost ...開頭? – CBroe 2015-02-09 16:51:49
我試過類似於:'https:// locahost',仍然收到相同的錯誤。 – user1012181 2015-02-09 16:54:09
_你在哪裏嘗試輸入該值? – CBroe 2015-02-09 16:55:49