2013-04-20 117 views
1

我想測試我的web應用程序的Facebook登錄,Facebook登錄和咕嚕服務器

現在在我的Facebook應用程序,我的網站的網址是:http://localhost:8080/#/SignIn

我使用咕嚕(咕嚕服務器)執行我的應用程序,當我試圖進入FB登錄我得到這個錯誤:

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. 

我需要建立一個Apache服務器achive Facebook連接本地?

回答

0

繁重的服務器應該罰款(我使用它,沒有麻煩)

在你的Facebook應用程序的「基本」設置,它問你一個URL(在我的情況下,它的畫布URL)。在該URL中,您需要有http://localhost:8080。當您準備部署時,您可以將URL更改爲您的真實主機。

+0

最後,我設置了一個Apache服務器,它工作正常,我只是向主機文件(localhost.com:8080)添加了一個url,並更新了Facebook網站的URL,一旦我確實開始工作, – 2013-04-22 10:00:29