You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"It is possible to perform limited testing on the facebook like button on localhost. It renders properly on my machine. The trick is using a live, non-localhost URL on the data-href attribute (I used Google in the sample below):"
Changing the "data-href" part of \app\views\shared_share_buttons.html.erb:ln2
If you include your Facebook App ID in the admin panel under website settings, you should not run into this issue.
If you need a Facebook app ID, you can get one by visiting developers.facebook.com and registering a new app. Note that you will need to disable sandbox mode on the application before the like button will appear on your Crowdhoster campaign page.
Neither of those steps were true for me. My facebook app wasn't in sandbox mode, and I had added the facebook app id in the admin panel. The issue seemed to be the localhost url.
Facebook doesn't seem to work with localhost requests.
"It is possible to perform limited testing on the facebook like button on localhost. It renders properly on my machine. The trick is using a live, non-localhost URL on the data-href attribute (I used Google in the sample below):"
Changing the "data-href" part of \app\views\shared_share_buttons.html.erb:ln2
to
Or any other valid url allows the like button to show up.
The text was updated successfully, but these errors were encountered: