在 iOS 6 及更高版本上与 YouTube 和 Twitter 共享视频文件 [英] Video file share with YouTube and Twitter on iOS 6 and above

查看:42
本文介绍了在 iOS 6 及更高版本上与 YouTube 和 Twitter 共享视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个视频录制 iOS 应用程序,作为最后一步,我需要允许用户与 FB、Twitter 和 YouTube 共享视频文件 (MOV).FB 实现完成.但是我在使用 YouTube 和 Twitter 时遇到问题.

I'm working on a Video recording iOS app and as a final step I need to allow the user to share the video file ( MOV ) with FB, Twitter and YouTube. FB implementation is done. But I'm having difficulty with YouTube and Twitter.

我知道 Twitter 在默认情况下没有视频共享选项,我们必须在 Vine 或 twitpic 等第三部分服务上进行中继.所以如果太困难,我可以放弃 Twitter 视频共享.

I know that Twitter doesn't have Video share option by default and we have to relay on 3rd part services like Vine or twitpic. So I'm ok to drop Twitter video sharing if its too difficult.

但是 YouTube 应该有一个简单的方法.我已阅读 http://code.google.com/p/google-api-objectivec-client/ 但它似乎有点过时了.

But There should be a easy way with YouTube. I have read http://code.google.com/p/google-api-objectivec-client/ but its seems bit outdated.

所以在这一点上我需要你的任何帮助.有没有人为 iOS 6+ 做过类似的实现?如果是这样,请帮我一把.或者至少建议在 iOS 应用中使用 YouTube API.

So I need any one of your's help on this point. Has anyone done any similar implementation for iOS 6+ ? If so kindly give me a helping hand. Or at least a suggestion to use YouTube API with iOS app.

非常感谢您的帮助.

亲切的问候维拉吉

推荐答案

感谢大家对这个问题的回答和评论,因为这使我能够为我的问题找到最佳解决方案.由于我正在为我的问题寻找一个非常简单的解决方案,因此我的问题没有直接答案.

Thanks everyone for answering and comment on this question because that leads me to get the best solution for my problem. Since I was looking for a very simple solution for my problem there was no direct answer to my question.

在 Google 上搜索并尝试可能的解决方案后,我想我找到了最简单的方法.资源是

After searching on Google and trying out possible solutions I think I have found the simplest way of doing this. The resources are

  1. https://github.com/stuffmc/YouTubeSample_iOS
  2. http:///hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/

同样,代码有点过时,但仍然有效.

Again the code is bit out dated but still work.

将这两者结合起来,有些更改为 Github 代码以使其启用 ARC 我设法做到了.它的 2 个简单文件和 GData 静态库.

Combination of these two and some changed to the Github code to make it ARC enabled I managed to do it. Its 2 simple files and GData static library.

谢谢大家!

这篇关于在 iOS 6 及更高版本上与 YouTube 和 Twitter 共享视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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