AlexLakatos / chooseindependent

0 stars 23 forks source link

Adding captions/text to facebook share #45

Closed Skatox closed 9 years ago

Skatox commented 10 years ago

The share plugin used in the page is https://github.com/carrot/share-button/ , currently it uses old Facebook sharer which is limited. In order to use the new method, OpenGraph should be added on the page (adding the og tags), then add the following option to the end of index.html

 facebook: {
  load_sdk: true
 }

Then it should take the correct caption, message, etc. For more info about OpenGraph check http://ogp.me/

JessCSR commented 10 years ago

Please make sure the share pre-populated text is: "Firefox is my independent choice! #ChooseIndependent #fx10"

tripad commented 10 years ago

Can someone create a image for the "og:image". Recom size as per facebook is 1200x630 pixels ( https://developers.facebook.com/docs/sharing/best-practices#tags ).

This will help with better facebook share thumbnails

MichaelKohler commented 10 years ago

is it possible to have l10n here? if not, okay too

tripad commented 10 years ago

it is possible as per documentation ... but i am guessing we would need a bit of server side help : https://developers.facebook.com/docs/opengraph/guides/internationalization

tripad commented 10 years ago

Suggestion : instead of using the whole website's screenshot as elio sent .. would it be better to have an custom image for the facebook share that just emphasis the tagline. here is an example

exampple

MichaelKohler commented 10 years ago

what's the status here?

tripad commented 9 years ago

Original issue : Facebook share api doesnt have a "prefilled" message option anymore so the "share the video" button cannot have a message.

The other open graph attributes have been added to the webpage so i guess you can close the issue.

MichaelKohler commented 9 years ago

thanks for the update, closing this issue