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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

asp.net mvc - how to pass 'true'/'false' data from Controller to View using jquery for bootstrap validator in MVC -