SLServiceTypeFacebook setInitialText is not working

It seems to be a problem having installed the latest Facebook app update (v29). Removing it “fixes” the problem. https://developers.facebook.com/bugs/1632385646995079/ https://developers.facebook.com/bugs/962985360399542/ Update (Jun. 3, 2015) Well. It seems that the new Facebook policy says that prefilling a message through setInitialText: is a prefill violation. https://developers.facebook.com/docs/apps/review/prefill So I guess the only way to share content from … Read more

Tutorial for SLComposeViewController sharing [closed]

For details on this framework please see Apple’s Social Framework Class Reference Additional tutorials: http://soulwithmobiletechnology.blogspot.com/2012/07/tutorial-how-to-use-inbuilt.html http://www.mobile.safilsunny.com/iphone/integrating-facebook-ios/ https://rudeboy-quickies.blogspot.com/2012/06/steps-to-integrate-facebook-in-ios6.html For this example, we will be using the SLComposeViewController‘s SLServiceTypeFacebook. If you wish to use Twitter or SinaWeibo just change out the SLServiceType to one of the following: SLServiceTypeFacebook SLServiceTypeSinaWeibo SLServiceTypeTwitter iOS 6 has made it very easy … Read more

How to display the default iOS 6 share action sheet with available share options?

The UIActivityViewController stated in the other answer makes this trivial. All you have to do is specify the text/image/URL that you want to share and present the activity view controller modally and iOS will automatically display all applicable sharing services. Examples: Objective-C – (void)shareText:(NSString *)text andImage:(UIImage *)image andUrl:(URL *)url { NSMutableArray *sharingItems = [NSMutableArray new]; … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)