Skip to content Skip to sidebar Skip to footer

Multiple Facebook Shares On One Page

I have a daily deal aggregator site and i can't get the Facebook share to work properly. There are lots of deals on each page and each one has it's own FB share so they can post it

Solution 1:

why are you taking this approach? i recommend using either the social widgets or the javascript sdk fb provides.

for example, with the js sdk you can do this: https://developers.facebook.com/docs/reference/dialogs/send/

as for the social widgets, you can add a like for each item: https://developers.facebook.com/docs/reference/plugins/like/

or send button: https://developers.facebook.com/docs/reference/plugins/send/

Solution 2:

Just remember to have the JS Function only once on your main page, otherwise it is loaded every time a page loads. That will prevent the images from disappearing. In .NET I added all the FB funcion-scripts in the Site.master page and it works fine.

Post a Comment for "Multiple Facebook Shares On One Page"