tmort / Socialite

Other
1.68k stars 164 forks source link

Allow for facebook sharing instead of like #70

Open norbusan opened 10 years ago

norbusan commented 10 years ago

Hi,

I really like the socialite idea, and have used it for quite some time via the wordpress plugin. But I had to abandon it for now due to a missing feature: I want to be able to have both share and like buttons (or only share).

I myself and many others don't want their "like" list be scattered with all kind of links they only want to share on facebook. It should not make a big complication to include an option to the share dialog (https://developers.facebook.com/docs/plugins/share/).

Thanks for considering, and all the best

Norbert

jmserra commented 10 years ago

Actually what's weird is that using the standard FB Like widget code, when clicking on Like button it likes the url and also opens a small box asking to 'Post' to your timeline, but the same doesn't happen in Socialite

jmserra commented 10 years ago

By the way, if you want to use Like and Share you can do it already, just add the following parameter to your facebook placeholder: data-send="true"

for example:

<div class="fb-like" data-send="true" data-show-faces="false" data-font="verdana"> ..

loudpop commented 10 years ago

Is there a similar easy method to active Share instead of Send?

rhodimus commented 10 years ago

I've added this feature in this pull request: #73

tmort commented 10 years ago

Appreciate your contribution @rhodimus! Will get it pulled in ASAP.

leandroruel commented 10 years ago

it already was added?

whitesided commented 10 years ago

It was, it's just not reflected in the documentation. Refer to the info in the pull request referenced above.