我想知道如何使用 Facebook API 和以 HTML5 开发的 Tizen 应用程序上传视频。谁能说一下如何整合..?
最佳答案
小部件内的代码应该类似于将视频上传到 Facebook 的任何其他 JavaScript 实现,示例请参见:Facebook video upload via Graph API Javascript SDK
You cannot access external network resources by default (WARP: W3C Access Requests Policy). So, you must request permissions for the widget to retrieve network resources. You can enter several URLs by using the Add button on the Access tab. For each URL, you can indicate if you want to allow the widget to access the URL sub-domains. The Allow subdomain column contents can be toggled by mouse clicks.
因此,如果无法访问 config.xml
中定义的案例所需的资源,它就无法工作:
<access origin="https://graph.facebook.com/USER_ID/videos" subdomains="true"/>
关于javascript - 使用适用于 Tizen 的 Facebook API 上传视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14751734/