xcode - ios plugin com.apple.share.Facebook.post do not show provided text -


in app i'm using following code allows share image text:

- (ibaction)sharepressed:(id)sender {     uiimage *postingimage = [uiimage imagewithcontentsoffile:self.filepath];     uiactivityviewcontroller *activityviewcontroller = [[uiactivityviewcontroller alloc] initwithactivityitems:@[@"lorem ipsum", postingimage] applicationactivities:nil;     [self presentviewcontroller:activityviewcontroller animated:yes completion:nil]; } 

and when posting can see image, can't see text. text doesn't appear in fb.

i'm afraid tell you, cannot post text facebook programatically. it's new facebook prohibition forbids "pre-filled" facebook sharing. why newer versions of ios not show text, tough it's correctly provided (and works on twitter , in other sharing options).

for more info please refer https://developers.facebook.com/docs/apps/review/prefill)


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -