Support

Home Forums Event Espresso Premium Social Media Share Not Working correctly for me

Social Media Share Not Working correctly for me

Posted: February 18, 2015 at 8:43 am


Daniel Samsel

February 18, 2015 at 8:43 am

Currently the Social Media Share only shares a link to the Event Registration Page and NOT the Event being shared nor does it present the Event’s Featured Image.

It shares a link to the Event Registrations Page and the Event Registration Page’s Featured Image.

I am trying to have the Social Media Share Add-on share the link to the Event and present the Featured Image of that Event, though “Show Featured Image” is turned off in Template Settings.

The reason for “Show Featured Image” is turned off is because the client wants to have an image linking to a PDF that visitors can print and I have placed this link within the Event Description.

I am running EE Version 3.1.36.6.P and all Add-ons are up-to-date.

A link to help:
https://hopeforbeauty.com/hope/event-registration/


Josh

  • Support Staff

February 19, 2015 at 2:20 pm

Hi Daniel,

I can advise contacting one of the developers that are listed on this to work with them on building extensions for the Social Media plugin. We do not provide customization services via the forums.

https://eventespresso.com/developers/event-espresso-pros/


Daniel Samsel

February 19, 2015 at 7:20 pm

Ok. So lets do the basics.

This Add-on is to allow the Titled Event/Class to be shared. Yes?

When I try to share the Titled Event/Class it only shares the Registration Page that lists all of the events not the Titled Event.

Which is supposed to happen?

Thank you for the quick response.


Josh

  • Support Staff

February 20, 2015 at 12:25 pm

Hi Daniel,

I’m assuming you are trying to share the event via Facebook. It may help to check the other sharing buttons that you have at the bottom of the page to see if they are conflicting. You are also invited to test out the button on this test installation of Event Espresso:

http://eetesting.info/3.1.josh/event-registration/?ee=2843


Daniel Samsel

February 25, 2015 at 2:42 pm

Josh,

Twitter works fine.
I am still having issues with Google+ and Facebook.

I have:
– deactivated Jetpack’s sharing icons tested and no change.
– deactivated the entire Jetpack plugin tested and no change.
– deleted the EE Share Add-on and reinstalled tested no change.

I have tested the link you had provided above and all worked fine.

What is happening is that when I share all appears to be going fine, but nothing shows up on the Social Media walls. I have one browser that doesn’t cache details, and I have to login to Share/Like the event and it still does not appear on the wall.

I do have modified registration.php pages in the Uploads, Espresso, Templates folder. Would this have something to do with the issue?

Thank you for any insight.


Lorenzo Orlando Caum

  • Support Staff

February 25, 2015 at 4:11 pm

Hi, is it possible that the account that you are testing with has a privacy setting that only shows the content to the account holder?

I just ran some testing with Facebook and it does show in the activity feed:

http://cl.ly/image/1i27103M0Y1I


Lorenzo


Daniel Samsel

February 26, 2015 at 8:31 am

The above sample link Josh had provided, that I had tested, worked perfectly fine.

When I test/share an event from the site I am working on:
https://hopeforbeauty.com/hope/event-registration/?ee=26

Twitter works.

Google+ and Facebook appear to work, but the post does not appear on either of the social media walls. PLUS: during the sharing process it shows that it is sharing the registration page and not the titled event page.

As you can see from my last post I have deactivated and uninstalled and re-installed plugins to see if they were causing the issue.

Any thoughts?


Josh

  • Support Staff

February 26, 2015 at 9:05 am

Re:

I do have modified registration.php pages in the Uploads, Espresso, Templates folder. Would this have something to do with the issue?

It’s possible. Also, you might check to see what happens if you deactivate all WP plugins except for the EE plugins, and temporarily switch to the default WP theme.


Daniel Samsel

March 12, 2015 at 11:26 am

I figured out that the Yoast SEO plugin is causing the issue. I was doing the debugger on Facebook and it was showing two different OG:URLs. and selecting the url for the page and not the event. The Facebook error is as follows:
More Than One OG URL Specified
Object at URL ‘https://hopeforbeauty.com/hope/event-registration/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: https://hopeforbeauty.com/hope/event-registration/, https://hopeforbeauty.com/hope/event-registration/?ee=50.

Yoast SEO is a very good plugin, so before I go researching my options do you have any thoughts on the issue? Is there a work around or any other options?

Thanks for the help and tips.


Daniel Samsel

March 12, 2015 at 12:17 pm

I figured it out.

I did some searching on your knowledgebase and found that I had Open Graphs selected in the Yoast SEO plugin under Social Media.

I am going through the debugging process on Facebook to ensure the correct images appear.

Thank you for your guidance and sorry to annoy if at all.
🙂


Lorenzo Orlando Caum

  • Support Staff

March 12, 2015 at 2:58 pm

Hi Daniel, you aren’t annoying us and we appreciate you sharing your troubleshooting steps. They will be helpful for another member that may run into this issue.

So if I understand correctly, you adjusted the open graph setting for WP SEO by Yoast and that cleared up the issue?


Lorenzo


Daniel Samsel

March 13, 2015 at 8:27 am

As you can see above is that I wanted to have an image in the description of the post that linked to a PDF, so visitors print a copy of the event.

I also wanted to have that same image or different/similar image appear when share via the social media add-on.

I placed the image in the description and made it a link to the pdf with the caption “Click for Printable Flyer”.

I then added a featured image to the same event. This image will appear on social media.

Social Media sharing/linking was only working for Twitter and Google+. Facebook was not working at all. The reason was WP SEO by Yoast was conflicting. I used Facebook DeBugger to find that it was retrieving two OpenGraph URLs. I found through your knowledge-base that the I needed to uncheck “Use Open Graph” in WP SEO by Yoast social media settings.

This solved the Facebook sharing issue.

With that said. I continued to test with the Facebook Debugger and found that the description of the event wasn’t appearing, but following was:
[content id=\

I went back to my event and removed the Caption “Click for Printable Flyer”. Now all is working great.

If you could help with some ideas to allow the caption that would be fantastic. This way the visitor is notified that the image is a link to a PDF and just an image on the page.

Thanks for any feed back.


Lorenzo Orlando Caum

  • Support Staff

March 13, 2015 at 9:52 am

Hi,

What if you manually create a link instead of use the caption option?

Does the event description still load?


Lorenzo

The support post ‘Social Media Share Not Working correctly for me’ 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.

Event Espresso