× Joomla Facebook Connect support forum

Topic-icon Show Google+ Twitter in Social Tags

Active Subscriptions:

None
14 years 5 months ago #17347 by branic
I inserted the tag {JFBCLike} into my page but it does not show google/twitter/linkedin. I went over the configuration guide, but did not see parameters to add this(I might have missed it). Are they available? Something like {JFBCLike show_google=true}

Thanks for the help
The topic has been locked.
Support Specialist
14 years 5 months ago #17357 by alzander
The ability to add the other social tags will be available in the 4.1 release of JFBConnect, due out tomorrow. We'll be updating the guides and other information for all the features of that release over the next few days.

Hope that helps, but you'll have to wait just a little longer to add those other buttons in manually.

Thanks,
Alex
The topic has been locked.
Support Specialist
14 years 5 months ago #17358 by alzander
Oh yeah, you can already do the LinkedIn button with {JLinkedShare} since you have a subscription to JLinked. You'll have to wait a day for 4.1 to be able to add the Twitter and G+1 buttons.

Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17362 by branic
Actually I tried the {JLinkedShare} and I cannot get that to work. I have both the JFBCContent and JLinkedContent plugins enabled. Would this cause interference?

Any pointers?

Thanks again
The topic has been locked.
Support Specialist
14 years 5 months ago #17371 by alzander
Having both content plugins is fine, although it may lead to double social buttons, depending on how each is configured. Generally, we'd only recommend enabling one.

For any of the {} tags, it's actually the System plugins that translate those into the corresponding button.. so, if the raw {JLinkedShare} tag is showing, we'd recommend making sure the JLinkedSystem plugin is enabled. If it is, and there are still problems, check if you have an Admin Render Key enabled in the Social Configuration -> Misc area. If so, make sure you're including that key in the tag.. {JLinkedShare key=xyz}

If that doesn't work.. let us know, and we'll come up with something else! :)

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

None
14 years 5 months ago #17385 by branic
I was pretty sure that the system plugin was enabled, but I checked anyway and it is. I have the JLinked login enabled and it seems to be working good. However I cannot get the {JLinkedShare} to work. I looked at the Admin render key and there is no option to enable/disable, only a blank text field to enter the key.

Even stranger I installed the Jlinked Share module, published it and shows the Twitter/google/facebook links but it does not show the linkedin badge(attached screenshot).
So bottom line is I cannot get a linkedin share badge to show on my site, regardless of how I implement it.
I guess linkedin doesn't link me, lol.

File Attachment:
The topic has been locked.
Support Specialist
14 years 5 months ago #17397 by alzander
Ahhh.. the picture helps. I was thinking the {JLinkedShare} tag was still appearing. Since it's not, that narrows things down a bit.

Since you have JLinked installed, we try to initialize the LinkedIn Javascript library with your API key. Not sure if you've created a LinkedIn application yet or not, but you should. Then, make sure that the Javascript URL in your LinkedIn application is your full URL: www.site.com (or without the www, whichever way your site is setup). If the Share button is placed on a page, with your API key, that doesn't match your Javascript URL, the button simply won't appear.

If you post (or private message) your site's address, I can confirm that this is the issue by looking for any Javascript errors, but I'm pretty confident that's the problem.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17405 by branic
Yes! that was the issue. I now have all the share buttons visible, thank you Alex.

Now that I am testing the buttons their seems to be a issue with the OG image when sharing. Here is what the facebook linter says:

"Inferred Property: The og:image property should be explicitly provided, even if a value can be inferred from other tags"

I should mention that my site is a classifieds site for people to list their classic cars for sale, so most content is will be user generated. I should also mention that this does not seem to be an issue when sharing with linkedin, as it uses the first image of the listing. Not sure if it makes a difference, but I am using the Jlinked share module, and NOT the JFBLike module.
The topic has been locked.
Support Specialist
14 years 5 months ago #17408 by alzander
Fantastic! Glad to hear we got you going. Still getting used to JLinked issues, so we don't always have the answers as quickly as we do (most of the time) with JFBConnect.

Open Graph properties work for the LinkedIn Share button as well. If a property isn't set for title, description or image, either Facebook or LinkedIn will try to guess based on the pages contents which is best. With JFBConnect though, you can explicitly set the image using the following tag per page:
{JFBCGraph image=http://www.site.com/link-to-image.jpg}
Even if your site is mostly user generated content, you can add the tag above to the template file for listings so it's automatically inserted on each listing page. Not sure what extension you're using for listings, but there should be an easy way to get the path to the first/primary image in the listing template PHP file. When you know that, you can add something like below which will dynamically set the image for each page:
{JFBCGraph image=<?php echo $listing->image_path; ?>}

Hope that's not too confusing. If you need more assistance on what to do, let us know. If we know the listing extension, we may be able to help immediately. Otherwise, we'll do what we can.

Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17420 by branic
I think I understand most of what you are saying, but I am not a PHP wiz :(
The component is called EZ Autos. I will add the code for the listing template it uses below and maybe you will have a suggestion for me as to where and how to add the {JFBCGraph image=image_path; ?>}

Here is a link to a listing to the front end so you can visualize : www.jrsclassiccars.com/listings/detail/4...hevrolet-impala.html
defined( '_JEXEC' ) or die( 'Restricted access' );

DEFINE("INSERTS_PATH","components/com_ezautos/forms/inserts");


if (file_exists(INSERTS_PATH."/header.php")) {
	include(INSERTS_PATH."/header.php");
} else {
}

if (file_exists(INSERTS_PATH."/vehicle.php")) {
	include(INSERTS_PATH."/vehicle.php");
} else {
}
..... full file
The topic has been locked.