Ser Pounce
Ser Pounce

Reputation: 14559

Facebook equivalent for TWTweetComposeViewController on iOS?

Does there exist something for Facebook in iOS that has equivalent functionality to the TWTweetComposeViewController? ie it's simple for the user to post a message or image to their time line just by implementing a simple modal view controller?

Upvotes: 0

Views: 296

Answers (2)

Tsuneo Yoshioka
Tsuneo Yoshioka

Reputation: 7874

On iOS6, you can use Social Framework like:

SLComposeViewController *viewController = [SLComposeViewController composeViewControllerForServiceType: SLServiceTypeFacebook];
[self presentViewController:viewController animated:YES completion:nil];

Following WWDC2012 presentation describes well about usages of the Social Framework.

WWDC 2012 Session Videos“Integration With Facebook, Twitter and Sina Weibo

Upvotes: 2

Atif Azad
Atif Azad

Reputation: 1294

On iOS use can use FBNativeDialog which is available in Facebook SDK3.1. See here FBNativeDialog has similar look as TWTweetComposeViewController

See this tutorial from Facebook Developers documentation.

Upvotes: 1

Related Questions