Topic-icon Open Graph tags to override the defaults

Active Subscriptions:

None
14 years 1 month ago #22053 by sraimund
Hello,
I am using the simple JFBConnect Open Graph tags to override the defaults in an Joomla article( comments, like, send).

"{SCOpenGraph url=https://link to article}
{SCOpenGraph title=Text}
{SCOpenGraph image=https://mysite.com/images/1/2/opengraph_9.jpg}
{SCOpenGraph description=text}"
All works fine, but image don't show in the facebook.
File Attachment:

Please advice, where is problem?

joomla 2.5.4 , JFBConnect Version: 4.2.1

Thank You
Best Regards
The topic has been locked.
Support Specialist
14 years 1 month ago #22059 by alzander
Not sure. The tags on the page look perfect. Facebook, however, has some issues sometimes parsing secure (https) pages. Can you try the following:
* Allow the /images directory to be loaded over http
* Use the SCOpenGraph tag with an http:// URL instead of https

I can't be sure if that will help. All the other data looks to be coming through fine when I look at it, but Facebook's Debug Tool can't read the page at all, and I don't know why that is:
developers.facebook.com/tools/debug/og/o...logijosakcijos.lt%2F

Hope that helps, and let us know how it goes,
ALex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #22068 by sraimund
Hello Alex,
Thank You For Help.
This is my error:
.htaccess
" RewriteCond %{HTTPS} !^on$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [L,R]"

I'm sorry

Thank You
Best Regards
The topic has been locked.
Support Specialist
14 years 1 month ago #22088 by alzander
If you update that .htaccess setting to the following, I believe it should allow the images directory to be loaded over either:
RewriteCond %{HTTPS} !^on$ 
RewriteCond %{THE_REQUEST} !/images/
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
Try that, and let us know how it goes. Still can't guarantee that will fix your problem, but it's the best recommendation we have right now.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #22093 by sraimund
Hello Alex,
This works OK:
"RewriteCond %{HTTPS} !^on$
RewriteCond %{THE_REQUEST} !/images/
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [L,R]"

You solved my problem :-), Thank You Very Much.

Best Regards
The topic has been locked.
Support Specialist
14 years 1 month ago #22112 by alzander
Fantastic! Glad to hear that helped! If you need anything else, just let us know.

Finally, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect, or our support. It's certainly not required, but very appreciated!
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks,
Alex
The topic has been locked.