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.
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.
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.
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.
Really appreciate any help.
Kind Regards Viraj
I recently open sourced YouTube Direct Lite for iOS.
Here's the upload protocol that I'm using latest resumable uploads.
If you don't want to implement yourself, you can use ESSVideoShare. (Will not work with iOS 7 or higher)
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.
After searching on Google and trying out possible solutions I think I have found the simplest way of doing this. The resources are
Again the code is bit out dated but still work.
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.
Thanks everyone!
The Google objective-c API client that you reference in your question has a sample app for YouTube authentication and file upload. You should be able to just copy and paste most of the code, just using the correct API keys that you obtained in the Google API Console.
I recently discovered that the new 'Youtube Capture' app can be used with UIDocumentInteractionController
Reference on iOS
Sadly I have been trying to pass a caption using the annotation field without any success. But if caption is not important, it's worth knowing.