How to post images to your facebook wall with the touch of a button from the iPhone app

I am making an application for the iPhone where the user wants the selected image to be placed on the facebook wall with the click of a button.

I have an Actionsheet button for this.

I want both user authentication ( loginButtonTapped in the tutorial below) and placing images on the wall ( rateTapped in the tutorial below) with one click of a button,

I am using the example from the link below as my link to post 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'm a newbie.

What should I do?

How can I continue?

Please help and suggest.

Thank.

+5
3

Facebook, Facebook ( SSO/Single Sign On), , Facebook , WebView Safari. Facebook , lib, BMSocialShare. " ". , Facebook:

BMFacebookPost *post = [[BMFacebookPost alloc] initWithImage:[UIImage imageNamed:@"image.png"]];
[[BMSocialShare sharedInstance] facebookPublish:post];

:

BMFacebookPost *post = [[BMFacebookPost alloc] 
                        initWithTitle:@"Simple sharing via Facebook, Email and Twitter for iOS!" 
                        descriptionText:@"Posting to Facebook, Twitter and Email made dead simple on iOS. Simply include BMSocialShare as a framework and you are ready to go." 
                        andHref:@"https://github.com/blockhaus/BMSocialShare"];    

[post setImageUrl:@"http://www.blockhausmedien.at/images/logo-new.gif" 
         withHref:@"http://www.blockhaus-media.com"];

[[BMSocialShare sharedInstance] facebookPublish:post];
0

BMSocialShare, vinzenzweber, . - Facebook, - , .

, , .

  • Info.plist, Facebook, "fb" .

  • In addition to adding BMSocialShare.framework to your Xcode project, you need to manually drag BMSocialShare.bundle and FBDialog.bundle to the BMSocialShare.framework resource folder in the Copy Resources section of the Summary Phrases section of your target

0
source

All Articles