[英]Framework similar to electronJS for developing cross-platform mobile apps
[英]Facebook integration in cross-platform mobile apps
我正在使用Parse for JavaScript,並且正在使用Intel XDK中的離子框架。
我正在嘗試合並社交媒體登錄,用戶可以使用Facebook登錄。
我一般都知道如何導航這個,但我主要關注的是:我使用facebook進行javascript,它需要一個URL,當這個URL不可訪問時,它不起作用。 因此,在iPhone或Android上我還不能用facebook。
我得到的具體錯誤如下:
Warning
Given URL is not allowed 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.
到目前為止我做了什么? 我徹底瀏覽了以下指南: http : //www.benjamin.my/how-to-set-up-facebook-connect-plugin-and-parse-com-in-ionic-phonegap/
它確實提到了指南的末尾
You may have to add an iOS setting or Android setting too eventually when you deploy to either platform.
這是我遇到問題的部分,有一段時間了。
您是否在config.xml中設置了<access origin="*" />
,以便訪問所有外部域?
有關此主題的更多信息,請參閱cordova白名單指南 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.