Upload a UIImage from iPhone to Facebook - iphone

How do you upload a UIImagefrom iPhone to Facebook?
I'm using facebook-ios-sdk-8b3c17d version, and none of the other examples seem to be using the new facebook API.
Thanks

Take a look here:
https://github.com/facebook/facebook-ios-sdk
in the example you can upload an image from your phone into your facebook photos.

this is the appId that I set, not the appKey which is in the error message. they are not the same...

See my answer here
Documented process for using facebook connect for the iPhone to upload photos
It using Graph Api for uploading photos.

Related

integrating facebook and twitter

How to integrate facebook sharing and twitter sharing to iphone like posting some text or images on wall?I have tried twitter using the following codeenter link description here
but it is not working?
For twitter use ShareKit and integrate in your application.
Change in Sharekit according to this link
Register for twitter API at https://dev.twitter.com// for client id and secret key
Now change SHKTwitterConsumerKey and SHKTwitterSecret to client id and secret key respectively in SHKConfig.h
For Facebook use FBGraph API link for sample code
Update: Please check https://github.com/reallylongaddress/iPhone-Facebook-Graph-API/issues/4 if you find post to FB crashing while using code
If your app is only targeting devices with iOS 5 and above, you can use the inbuilt 'Twitter.framework'. More documentation can be found on Apple's website at this link
http://developer.apple.com/library/ios/#documentation/Twitter/Reference/TwitterFrameworkReference/_index.html
For Facebook, reading the documentation at https://developers.facebook.com/ios/ is a good way to start; download the SDK and check out the sample app.

iphone integrate facebook

i want to post any photo on to the facebook wall .so through iphone i want to develop such application please help me
you can use graph API for post image on facebook.
see this link:
http://developers.facebook.com/docs/reference/api/
Grab the latest Facebook iOS SDK, there you should find all of the posting examples to get you started. You will need to register an app on Facebook and get an Application Secret code to include in your app to test properly.

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.

Create Album and Upload Photo in my facebook account using iphone application

Thanks for the help.
In my application i want to add facebook feature.
After Changes in my Picture i want to upload that image in my facebook account.
Is there any code is available related this operation?
Please help me on this.
Pankaj Gadhiya
Try the API at http://github.com/facebook/three20 and http://forum.developers.facebook.net/viewtopic.php?pid=132728

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.