Support

Home Forums Social Media Buttons Add-on Facebook 'like' button not displayed

Facebook 'like' button not displayed

Posted: November 24, 2013 at 1:51 pm


Cristi Constantin

November 24, 2013 at 1:51 pm

Even though the FB button is displayed at /event-registration?ee=5, it is not displayed at /event-registration?regevent_action=register&event_id=5. Meanwhile, the tweet and Google+ button display just fine.
Using: 3.1.35.2.P EE version and 1.1.6.p social plugin version.


Sidney Harrell

November 25, 2013 at 12:04 pm

It looks like the facebook API requires the page to match what is put in the data-href attribute. Try opening up plugins/espresso-social/espresso-social.php and go to line 231:

$registration_url = $permalink . '?ee=' . $event_id;

Try replacing it with something like:

if (!empty($_GET['event_id'])) {
   $registration_url = $permalink . '?regevent_action=register&event_id=' . $event_id;
} else {
   $registration_url = $permalink . '?ee=' . $event_id;
}

and see if that fixes it.


Cristi Constantin

November 28, 2013 at 7:01 am

Sorry, I don’t mean to be rude, but I don’t really have time to test this, and I guess it should be on your side, as it is a generic failure (isn’t it?) and it is not caused by my site’s customization.
Thank you for your understanding.


Josh

  • Support Staff

November 29, 2013 at 8:06 am

Thank you for your feedback.

The support post ‘Facebook 'like' button not displayed’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for the Social Media Buttons add-on.
Documentation for Social Media Buttons Add-on
http://eventespresso.com/wiki/social-media-buttons-add-on/

Status: closed

Updated by  Josh 5 years, 11 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.