× Joomla Facebook Connect support forum

Topic-icon Content Plugin - Like

Active Subscriptions:

None
14 years 9 months ago #12964 by arsenite
Hi,

Our website is running Joomla 1.5.23 with JFBConnect 3.4.1 and Virtuemart 1.1.9 After performing the integration with JFBConnect, we have encountered some issue when trying to use {JFBCLike} tag on the virtuemart product page.

1) When clicking the Like button, errors are occurring randomly. It will desplay error messages like"... the server returned status code 303" or "metatag og:image is required"

2)When the error message is not displaying, I can post Like with comment to my facebook page, but the image is not appearing. The title is also not appearing, such that the entire link address is used as the title. On the virtuemart flypage, we did included the {JFBLike} tag, together with the {JFBCGraph} tags to define the image, title, description etc. but the {JFBCGraph} tags would be printed out on the website.

3) Click the send button will give the error message "The page at www.mysite.co.uk/index.php?page=shop.pro...virtuemart&Itemid=54 could not be reached because the server returned status code 303."

Initial checks suggest that the content plugin does not appear to be working. I also tried to change the settings using the JFBConnect -> Social -> Like panel, but the changes are not translated onto the plugin. For example, I tried disabling the "Show Send Button", changing the Layout from Standard to Box, and changing the Verb to Display option to Recommend, all of which does not have any effects on the plugin displayed.

How can I add the image to the FB post, and how can I disable the send button.
The topic has been locked.
Support Specialist
14 years 9 months ago #12986 by alzander
Replied by alzander on topic Content Plugin - Like
Arsenite,
Is it possible to post (or private message us) the actual site URL so we can take a closer look at what's happening? The below are some quick answers that may help though either way.

1) Make sure you've enabled the Open Graph integration of JFBConnect in the Social configuration area in the Open Graph tab. Then, in the defaults box, you can specify a default image to use on all pages (a logo, or something similar is usually good):
image=http://mysite.com/link-to-default-image.jpg

Then, on each product page, you can specify an overrides with the {JFBCGraph ... } tag as you indicate you're doing on step 2. The default is good to have as a fallback though.

2) If the text {JFBCGraph ...} or any of the {JFBCxxx} tags are showing on the page, and not getting properly translated, check:
* That the JFBCSystem plugin is enabled
* If you have the System - Cache plugin enabled, that it's ordered higher/after the JFBCSystem plugin. Generally, it should be ordered last, after all other system plugins.

3) We'll definitely need to see the URL for this issue.

A lot of the issues you indicate are pointing to a few different possibilities:
* You have another Facebook integration extension installed on your site. Please try disabling any of these (at least temporarily) to see if the issue goes away. If so, we can help you either re-enable that extension, or use similar features in JFBConnect
* Caching is enabled on your site, and either misconfigured (ordering of the System - Cache plugin) or masking your changes (Send button not going away). Try disabling caching to see if that helps.

Hope this helps get you started. When we see the page the errors are happening on, we can usually narrow things down very quickly.

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

None
14 years 9 months ago #12994 by arsenite
Replied by arsenite on topic Content Plugin - Like
Hi Alex,

Thanks for your reply.

Open Graph integration was enabled, and we do have the default fields filled up. The JFBCSystem plugin was also enabled. The rendering problem was partially solved by enabling the system cache plugin and setting this to last (this was previously disabled). It appears that the Virtuemart variables contain html tags, which is why some of the JFBC tags are being printed out on the website. I am trying to use the php functions to remove these, but it is not straightforward.

For now, the like/send button seems to work well as long as the Virtuemart variables do not contain any special tags. Would it be possible to add remove tags function to prevent injections?

We do still have some minor issues. The social content plugin settings are still not translated onto the display when I add the Like tags on the product page. For example, I have the send button disabled but it is still showing. As before, I tried changing the settings but these does not change the displayed Like panel in any way. Also, when the user tries to like the page as a guest without logging in, the login panel does not update once he log in using the facebook popup.

We do not have other facebook integration modules installed, JFBC is the only one we use. If you require the link, our url is www.portobellodirect.co.uk

Cheers.
The topic has been locked.
Support Specialist
14 years 9 months ago #13002 by alzander
Replied by alzander on topic Content Plugin - Like
You shouldn't need the System - Cache plugin enabled for things to work. When it's enabled, you need to make sure it's last.. but that's strange that it worked better with it enabled, honestly... Just be aware as you make changes to your site in the future that the System - Cache plugin will hide those changes from you until the cache expires, or you clear it. It's a common annoyance when you don't see changes take effect immediately.

What Virtuemart variables are using HTML tags? The image tags definitely do, but not sure about others. The post below may help you with how to extract the image for the flypages (we've had that question before) :D
www.sourcecoast.com/jfbconnect/docs/thir...ation-for-virtuemart

As for the Send button showing, and other issues, can you post the actual {JFBCLike ..} tag you're using so we can see if we see any common problems with it. Also, I'd recommend disabling any caching you have enabled, for the reasons mentioned above.

Thanks, and we'll get you going,
Alex
The topic has been locked.