Black Friday / Cyber Monday Special - 10% Off - Use "CYBER10" at checkout!

Topic-icon index.php instead of an image from article

Active Subscriptions:

None
5 years 1 month ago - 5 years 1 month ago #59694 by Killman
When I share an item from K2, to FB or LinkedIn, I get this: gyazo.com/c83510c4a557d7f54c18fa28e1a7d549 (index.php instead of an image)

One item from web: eurobungalow.com/index.php?option=com_k2...c&Itemid=107&lang=es
FB debug: developers.facebook.com/tools/debug/shar...id%3D107%26lang%3Des
Last edit: 5 years 1 month ago by Killman.
The topic has been locked.
Support Specialist
5 years 1 month ago #59697 by mel
Could you provide a specific URL of a page you're trying to share? I'll need to check that the Open Graph image and description tags are correct. Randomly looking through your page, I can't find one with LinkedIn / Facebook buttons.

I don't see any share buttons on the link you provided and the image preview you show from the Sharing Debugger shows a valid looking preview.

-Melissa
The topic has been locked.
Active Subscriptions:

None
5 years 1 month ago #59703 by Killman
Sorry I was talking about the autopost option not a share button. When I publish an item from K2 that happens.
The topic has been locked.
Support Specialist
5 years 1 month ago #59718 by mel
Since this is a new item that is being published, Facebook hasn't scanned the page. It could make sense that the image/description do not match the tags that are on the page. However, Facebook should automatically update that post when the page is scraped for the first time.

Could you look back at your Facebook Page and let me know if the image/description have been updated for the post - if they've been updated or if they're still incorrect/blank? If there's still a specific URL that has an incorrect image/description, please let me know that URL so that I can look at the tags on the page and look at the sharing debugger.

-Melissa
The topic has been locked.
Support Specialist
5 years 1 month ago #59731 by mel
I see now. It looks like the link that is shared is incorrect, hence the empty image. When you click on the link in the FB post, it goes to an unknown page.

1. What version of JFBConnect are you using? The account that you're posting from does not have an active subscription. There have been bug fixes related to autoposting URL's in the past few releases.
2. Could you go into the JFBConnect backend > Channels > History tab and let me know the details for the autopost that was published?
3. Did you create the K2 item in the backend or front-end? Did you just create an item and then save it? Or was it a pending item that was published on a future date. Details on how you performed the autopost would be helpful.
The topic has been locked.
Active Subscriptions:

None
5 years 1 month ago - 5 years 1 month ago #59735 by Killman
1. JFBConnect
Copyright: 2010-2015 © SourceCoast Web Development
Version: 7.0.3

2. gyazo.com/56d7cb57220537ae439eaf43310d29bc

3. Backend. Tried publishing an item that was created before JFBConnect installation and a new item like the last one "test5".
I created new item and save it without publish and then publish it and tried creating new item with publish with the save. Same results with everything.

FB Channel config: gyazo.com/db66a60b0257bc5eeff9254607b5771f
LinkedIn Channel config: gyazo.com/7fe5ceea1d395eabed7178fceb656fb2

Test5 item: gyazo.com/ff12f57ed543a6a2d8af95416faa51ce didn't touch any options in the sidebar.
Image link options: gyazo.com/f0e2d151ca7f792cbe3677c58fbbb1fb
Last edit: 5 years 1 month ago by Killman.
The topic has been locked.
Support Specialist
5 years 1 month ago #59746 by mel
We made some changes in one of the most recent versions of JFBConnect that I suspect might be related to this issue. Could you make the following change:

In /libraries/sourcecoast/openGraphPlugin.php, around line 468, could you comment out (or temporarily remove) the following block of code:
//Need to make an AJAX call to front-end to get the SEF URL
$http = JHttpFactory::getHttp();
$sef = $http->get(JUri::root() . 'index.php?option=com_jfbconnect&task=ajax.sef&url=' . base64_encode($link));
if ($sef && $sef->code == 200)
   $link = $sef->body;

Could you let me know if this helps to post the correct URL and that it brings you to a valid page?

-Melissa
The topic has been locked.
Support Specialist
5 years 1 month ago #59758 by mel
Hmm. Would you mind giving us FTP and backend access to your site? Looks like I will have to step through the code and see how it's behaving on your system as we can't reproduce this on our test sites. You can use the envelope icon under my avatar to send a PM.
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Learn More About the Hide and Seek Toy