如何在iphone sdk中使用twitvid在Twitter上传视频? [英] how to upload video on twitter using twitvid in iphone sdk?
问题描述
我正在尝试使用twitvid将视频上传到Twitter我得到了示例代码来自 TwitVid
当我运行示例时代码,我试图上传一个视频,它显示我在 UIAlertView
上传过程但在完成上传后它给我错误上传失败
我发现在这个示例代码中 TwitVid_APP_ID
丢失了,但我尝试了很多来获取 TwitVid_APP_ID
来自TwitVid,但我没办法得到 TwitVid_APP_ID
。我还浏览了他们提到的TwitVid的文档如果你想获得 TwitVid_APP_ID
而不是邮件mailto:support@twitvid.com .i也邮寄但它也无效。
I am trying to upload video to twitter using twitvid i got sample code from TwitVid
when i run the sample code and i tried to upload a video at that time it shows me uploading process in UIAlertView
but after completion of uploading it gives me error Upload Failed
i found that in this sample code TwitVid_APP_ID
is missing but i tried a lot to get TwitVid_APP_ID
from TwitVid but i didn't get a way to get TwitVid_APP_ID
. I have also gone through the document of TwitVid they have mentioned that if you want to get TwitVid_APP_ID
than mail at mailto:support@twitvid.com .i also mailed but its also not working.
我知道 TwitPic
如何用于图片上传,但我想在这里上传视频。
I know how the TwitPic
works for image uploading, but i am trying to upload video here.
有没有其他方式在Twitter上传视频而不是请提及我。
Is there any other way to upload video on twitter than please also mention me.
任何人都可以帮帮我吗?
can any body please help me?
推荐答案
试试这个
第1步: https://dev.twitter.com/apps
step 1: https://dev.twitter.com/apps
第2步:登录您的Twitter帐户
step 2: login your twitter account
第3步:点击创建新应用程序
第4步:输入申请详情 - >点击创建您的推特应用按钮
step 4: Enter application details --> click create your twitter application button
第5步: - >您的访问令牌
step 5:-->Your access token
点击创建访问令牌按钮,它会自动生成身份验证密钥和身份验证密钥
click create access token button it will automatically generate authentication key and authentication secret key
第6步:点击OAuth工具 - >获取
step 6: Click OAuth tool --> get
消费者密钥:
消费者秘密:
访问令牌:
访问令牌密钥:
AppId:#######
Consumer key: Consumer secret: Access token: Access token secret: AppId:#######
应用程序ID是应用程序信息页面URL中的数字。例如: https://dev.twitter.com/apps/### ### / oauth #######是应用程序ID号。我们需要这个在我们的数据库中查找您的应用程序的信息。
The Application ID is the number present in your application's info page URL. For example:https://dev.twitter.com/apps/######/oauth The ####### is the app ID number. We need this to look up your application's information in our database.
这篇关于如何在iphone sdk中使用twitvid在Twitter上传视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!