2015-06-03 63 views
0

我想建立一個桌面Facebook應用程序,它將顯示登錄用戶的朋友列表。我正在嘗試使用Facebook JavaScript SDK來做到這一點。但是,當我打開HTML頁面時,出現以下錯誤:建立一個桌面Facebook應用程序

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the Application configuration. It must match one of the Connect or Canvas URLs or domain must be the same as or a subdomain of one of the Application

我明白Facebook會詢問從何處調用該應用程序的URL。不過,我想通過從本地驅動器打開HTML文件而不是通過網站來運行它。這可能嗎?

在facebook上有一個帖子(https://developers.facebook.com/bugs/165982843535513/),表明這可能是不可能的。不過這個帖子是在3年前製作的。目前有沒有可能的解決辦法?

回答