使用Facebook API for Tizen上传视频? [英] Upload a video using Facebook API for Tizen?

查看:153
本文介绍了使用Facebook API for Tizen上传视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何使用HTML5开发的Tizen应用程序使用Facebook API上传视频。任何人都可以说如何整合..?

I wondering how to upload a video using Facebook API with Tizen application which is developed in HTML5. Can any one say how to integrate..?

推荐答案

小部件中的代码应该像视频的任何其他JavaScript实现上传到Facebook的一个例子见:通过Graph API Javascript SDK上传Facebook视频

The code inside the widget should be like any other JavaScript implementation of a video upload to Facebook for an example see: Facebook video upload via Graph API Javascript SDK

唯一的注意事项应该是应该声明其外部访问的任何资源(请参阅访问外部网络资源):

The only caveat should be that any resource that it is accessed outside should be declared(see Accessing External Network Resources):


默认情况下,您无法访问外部网络资源(WARP:W3C
访问请求策略)。所以,您必须要求
小部件的权限来检索网络资源。您可以通过
,使用访问选项卡上的添加按钮输入几个URL。对于每个URL,如果要允许小部件访问URL子域,则可以指示

允许子域列的内容可以通过鼠标点击来切换。

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

so it cannot work without having access to the resource needed in our case defined in config.xml:

<access origin="https://graph.facebook.com/USER_ID/videos" subdomains="true"/>

这篇关于使用Facebook API for Tizen上传视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆