Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to post images on facebook wall on a single button click from an iPhone app

I am making an iPhone app where in the user wants that the selected image should be posted on facebook wall on a single button click.

I have Actionsheet button for this.

I want that both authentication of user(loginButtonTapped in tutorial below) and posting images to the wall(rateTapped in tutorial below) be carried out on a single button click.

I am using the example on the link below as my reference for posting images on facebook wall

http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-button-from-your-iphone-app

I am a newbie.

What should I do?

How can I proceed?

Please Help and Suggest.

Thanks.

like image 521
Parth Bhatt Avatar asked Oct 26 '22 01:10

Parth Bhatt


1 Answers

You can use the facebook Graph Api for posting images to wall..

Here is the tutorial for this...

http://www.capturetheconversation.com/technology/iphone-facebook-oauth-2-0-and-the-graph-api-a-tutorial-part-2

like image 65
Kuldeep Singh Avatar answered Nov 01 '22 14:11

Kuldeep Singh