Hi,

Setting the Facebook Like widget to "Recommended" on the widget settings page (admin/settings/service_links/widgets) doesn't seem to have any impact on the generated widget. That is, the displayed widget says "Like" both before and after I change this setting to "Recommended".

The widget services module uses "recommended" as an action for the Facebook Like widget. However, my reading of the Facebook Like button documentation suggests that the proper action is "recommend". Manually setting the service_links_fl_action variable to 'recommend' changes the text displayed on the widget to 'Recommend', which seems to be the desired behavior.

Thanks for the Service Links module!
-G

CommentFileSizeAuthor
#1 1365146-1.patch855 bytesgdl

Comments

gdl’s picture

StatusFileSize
new855 bytes

Here's a quick patch.

Best,
-G

gdl’s picture

Status: Active » Needs review

Forgot to update the status to indicate that I attached a patch.

mennonot’s picture

This patch worked for me, although I also had failed to check "Show Facebook Like link Widget Services" on /admin/settings/service_links/services. Checking the box was what got the widget working with the "recommend" functionality (vs. the built-in share button). Perhaps that tip will save some time for others who come across this page while searching for the service links facebook widget in the future.

facal’s picture

Version: 6.x-2.1 » 7.x-2.1
Status: Needs review » Reviewed & tested by the community

I confirm that it works. Also, it is so simple and straightforward that believe it is ready to be committed.

TheCrow’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Reviewed & tested by the community » Fixed

Thanks for the patch @gdl, pushed it for both versions!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.