× Joomla Facebook Connect support forum

Topic-icon The like button doesn't show up in some content

Support Specialist
15 years 3 days ago #10668 by alzander
Kiril,
Good news. I think you're all fixed up now. I did the following changes in the admin area, and things are working as expected now:
1) In Site->Global Configuration, I set "Use Apache mod_rewrite" to No. This makes your SEF URLs start with index.php, but the rest of the URL is 'pretty'. My guess is that you haven't renamed the htaccess file, like the (!) note next to that option states. Feel free to try renaming that file, turning on that option, and clearing the cache (see step 3).
2) Enabled the System - SEF plugin. No clue why this was disabled, but it's what makes the pretty URLs on your site.
3) Cleaned your cache to regenerate all URLs (Help->Clean Cache).

Please test, but it all looked good to me from a quick test!
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 3 days ago #10702 by Denev
alzander,
Thank you for your help, but my htacess file was renamed by my hosting operator. I will ask them why its not working. Also my problem with the content is not resolved. When I'm sharing on facebook the title of the content is not shown properly. The title is always the same- my site and the discription of it.
Thank you,
Kiril
The topic has been locked.
Support Specialist
15 years 2 days ago #10714 by alzander
Kiril,
The title and description portion is actually pretty easy, but requires a little effort. In your articles, or different pages, you need to specify the Open Graph tags which Facebook uses to set the title and description for those pages. You can set the default title and description in the JFBConnect admin area, in the Social area under the Open Graph tab. First, make sure that Open Graph integration is enabled. Then, to set a default for all pages, if you want, do:
title=Default title for all pages
description=Default description for all of your pages

Then, on each individual page, in the video's description, or using a custom HTML module, simply put:
{JFBCGraph title=Better title for specific page}
{JFBCGraph description=Best description for this page}
{JFBCGraph image=http://site.com/image-for-page.jpg}

Then, you can use Facebook's Linter tool to see what Facebook will use as the title, image, description, etc for each of your pages:
developers.facebook.com/tools/lint

Hope that helps, and let us know if the SEF stuff has issues. Without the htaccess modification, the index.php will remain, but don't think that should be a deal breaker, and the URLs are still much better than before.

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 2 days ago #10735 by Denev
Alex,
I did all the steps and it didn't work. I am a newbie and maybe thats the problem. Can you look it? Thats my last request. You did alot and I really appriciate it.
The topic has been locked.
Support Specialist
15 years 2 days ago #10738 by alzander
Kiril,
No such things as 'last requests' around here. Your a subscriber. If you run into issues, we'll help you fix them.. there's not a limit we put on support.

We'll gladly look into it further, but can you (either here or in a Private Message) let us know:
1) A specific page to test with
2) Where/how you tried to add the {JFBCGraph.. tags, so we know where to look. Not familiar with your video component, so wouldn't know where to start immediately, and don't want to have to investigate too much.

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

None
15 years 2 days ago #10743 by Denev
Alex,
Here is the specific page to test : bgtunes.com/index.php/component/contushdvideoshare/player/296/2 With the share button in the right down side of the player
I don''t know how to put the tags in the videos discription so I made a hmtl module and put htem there, but it didn't work. The module is named title video. I turned it off right now. Hope this helps. There are no tags in your componnent too.
The topic has been locked.
Support Specialist
15 years 2 days ago #10749 by alzander
Denev,
I think I found the issue. Similar to the extra head section you had on your page, there seems to be an extra 'html' closing tag. Search the page for it, and you'll see it pretty high up on the page at line 32. For something that searches your page (like Facebook or Google) this would likely be the last line they'd look at, so anything below there won't be seen.. which is obviously very bad.

Fix that, and hopefully, you'll be good to go!
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 1 day ago #10765 by Denev
Alex,
Thank you, I remove that extra closing tag but it didn''t work. I'm starting to desperate...
The topic has been locked.
Support Specialist
15 years 1 day ago #10778 by alzander
Denev,
It is working now. You'll want to use the Linter to see the tags in action. The tags are cached by Facebook and only updated every 24-72 hours. Therefore, if you change the tags and try to Like the page immediately, you'll still see the old values.

To see what Facebook sees on that page, look here:
developers.facebook.com/tools/lint?url=h...e%2Fplayer%2F296%2F2

Hope that helps explain, but I think you're good to go now with adding your own custom tags!

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 5 hours ago #10813 by Denev
Thank you very much Alex! You have the best support. I will ask a very stupid question right now... Ho to add my own custom tags?
The topic has been locked.