V
V
Vlad2016-04-28 00:35:16
Facebook
Vlad, 2016-04-28 00:35:16

How to specify image and text for Facebook Share widget?

Tell me, please, how to attach a picture and text to the facebook share widget that I would like people to share when sharing?
open graph tags won't work.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
web_xaser, 2016-04-28
@webxaser

They are recommended , after all.

P
Philipp, 2016-11-12
@zoonman

Use Feed Dialog .
Don't forget to connect Facebook Javascript SDK https://developers.facebook.com/docs/javascript/qu...
And fix the code below

FB.ui(
  {
    method: 'feed',
    name: 'This is the content of the "name" field.',
    link: 'URL which you would like to share ',
    picture: 'URL of the image which is going to appear as thumbnail image in share dialogbox',
    caption: 'Caption like which appear as title of the dialog box',
    description: 'Small description of the post',
    message: ''
  }
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question