php - When sharing page url from iOS app to facebook, the og:image is shown in the post preview, but it does not show up in facebook newsfeed page. -


when sharing page url ios app facebook, og:image shown in post preview, not show in facebook newsfeed page. same page shared browsers worked correctly.

i've encountered same problem actually. url preview didn't show in news feed appeared in share dialog. problem appeared if had facebook app installed on iphone.

i shared url using socialkit framework. point when facebook app installed framework tried share url via app and(i don't know why) preview vanished from link in news feed. solution replace socialkit fbsdksharekit brings more flexibility in terms of sharing data. library allows configure share dialog mode.

fbsdksharedialog *dialog = [[fbsdksharedialog alloc] init]; dialog.mode = fbsdksharedialogmodeweb; 

the web share dialog mode show share dialog web view , not touch installed facebook app when sharing.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -