Uploading pictures to Facebook from iphone app - iphone

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.

Related

Facebook UI to display a photo upload available?

i want to implement the Facebook SDK (not the 3.0 beta) to simple upload a photo to the users wall. I´ve found some good posts how to do that:
Post photo on users wall
What i like to know is, if there´s already a Facebook UI when uploading the images or do i have to make my own activity indicator and react on the Facebook delegate methods?
I´m right, that there´s only a Facebook UI for displaying the dialog?
Like this:
[appDelegate.facebook dialog:#"feed"
andParams:dialogParams
andDelegate:self];
Thanks for any help.
(Its my first Facebook integration, so i´m really looking forward to the easier iOS 6 integration ;))
You'll have to do that for yourself as the Facebook SDK does not currently provide a view for developers to use to upload a photo, and the new version of the SDK (3.0) also does not provide a view to use.

Post picture to Facebook from iPhone/iPad app

I have developed an app for the iPad and iPhone that uses the camera to take a picture
Can someone tell me the easiest way to publish that to a users Facebook page?
Do I need to use the Facebook api's? I am not writing a Facebook app, just want to post the picture on the users wall.
Thanks
Would not make sense not to use FB API. There might be some other API that uses FB API itself but not sure about that..
I found a similar question:
question
Hope that helps!

how to display profile pic for facebook using sharekit, iphone

I need to publish users profile pic that is available in facebook in my iphone app.
Can you guys please suggest how to make this done using sharekit.
Thanks,
Chaitanya.,
I don't think ShareKit is made for that purpose. The idea is to enable sharing on multiple platforms. For getting the profile pic, you will need to use Facebook's official iOS SDK.
The relevant graph API would be:
https://graph.facebook.com/username/picture
There is no graph API for updating the profile picture. You can only retrieve it. However, it is possible to update it, check out this app.
The general approach would be to do a straight up POST to Facebook with the image and the crop dimensions for the final profile picture. However, since that isn't an API-based approach - your code will be brittle.
Sharekit is not the way to go for Facebook profile pictures, but you CAN update a Twitter profile picture with it.

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 UIImage from iPhone to Facebook

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.