Upload Video Twitter - iphone

I am developing a mobile app that share video to youtube, fb and twitter. I know there is a twitvid api but as i am fairly new to iphone development i just do not know how to make use of this.
Really appreciate any help on this.

I think you are unable to upload video directly to twitter, but you can upload your video to youtube and then send a shortened url to the user's status.

You can share video to Twitter by using the uploading media new API. And I have tried it, it works.
I made a convenient class to make post video to Twitter more easily.
Please check this: https://github.com/liu044100/SocialVideoHelper
You just need to call this class method.
+(void)uploadTwitterVideo:(NSData*)videoData account:(ACAccount*)account withCompletion:(dispatch_block_t)completion;
Hope it can resolve your problem.

Related

post video to facebook/twitter via sharekit

Currently,I am developing an app in which I have to post video to Facebook/twitter via share kit.I am
sending text & images via share kit then its easily posted on Facebook/twitter but video is not post.
I am searching everywhere but can't succeeded.how can i solve this? Thanks in advance.

Uploading audio to facebook from iOS app?

I've been trying to integrate my app with Soundcloud, but I'm just finding that impossible and way too difficult, and there are no good tutorials out there. Are there any other ways to upload audio files to facebook for playback? Any other services besides Soundcloud? Or does anyone know a useful tutorial for setting up Soundcloud with iOS?
you can use their api to do what you want. first upload the audio file to soundcloud and then post the link to the file on facebook.
here is a link to iOS sharing and here is a link to the soundcloud api wrapper.
iOS sharing will help you post the link to Facebook.
This is kind of cheating, but you could upload your "audio" to youtube, and then use the facebook api to post the link (pretty easy using facebook api). Uploading to youtube would have better support, like this
The soundcloud instructions here aren't terrible, a little tricky at first. Perhaps you could share with us what you've done on these three requirements. Where are you getting stuck?
1)Getting the users connections
2)Provide UI for choosing connections (public sharing) or mail addresses (private sharing)
3)Upload the file
EDIT
Additionaly, here is a useful tutorial link for soundcloud uploading
Both SoundCloud and Facebook have Cocoa wrappers and tutorial for their APIs:
SoundCloud Cocoa API Wrapper + tuts
Facebook iOS Tutorial
Hope these help.

iPhone: how to tag people on photo as facebook app for iPhone does?

I'm building a native iPhone app that takes a picture, does some funny stuff with it. I want the users to be able to tag their facebook friends on the resulting picture, similar to what the facebook app does. It seams that official facebook ios-sdk https://github.com/facebook/facebook-ios-sdk lacks this feature.
I wonder: is there some library or some advice that can help avoiding reinventing the wheel?
Simple go here:
http://developers.facebook.com/docs/reference/rest/photos.addtag/
and it will build a photo tag URL for you on the right hand side. All you have to do is send a GET request with NSURLConnection, Apple has an example on how to send GET's and POST's:
Here is Apple's example

Upload a video to YouTube or Facebook from your app? (iPhone)

I'm trying to find a way to upload a video to Facebook. I know It is possible as some apps do it. I was searching the web for hours but no results. I know it's somehow related to GData.
I managed to upload a video to youtube, can I somehow convert the code so it will upload to Facebook?
To a upload a video on Facebook, try this. They have a sample code here on how to upload a video using the Facebook Graph API.
I think, that the best way is to upload a video to youtube by using GData, and then post only link for it to Facebook by using FBConnect Objective-C library.

Uploading pictures to Facebook from iphone app

I'm currently using facebook to post text in the user's wall. I'm wondering if it's possible to post pictures, such as screenshots from my app for example, in the posts, because someone explained me that currently it's only possible to attach pictures from an URL to the post, and not any picture from the iphone.
It's also possible to upload pictures to the user's facebook album ?
Thanks.
I don't for sure how to do it, but the Facebook SDK Api would probably support what you want.
http://github.com/facebook/facebook-ios-sdk
The opensource ShareKit framework - http://www.getsharekit.com/
Does this successfully and easily - You can publish a photo to your wall, and it is added to an album as well.
Great stuff...:)
Oded.