× Joomla Facebook Connect support forum

Topic-icon Comments in hwdVideoShare

Active Subscriptions:

None
14 years 10 months ago #12109 by NLM
Hi!

I think I've finally come up with an issue that may be a stumper. I am trying to integrate JFBConnect inside the hwdVideoShare component and have the Like button in place using the {JFBCLike} plugin syntax. Unfortunately, I'm not having the same luck using the {JFBCComments} plugin. I can see the Facebook loading bars when the page loads, but the comments interface doesn't appear. An example can be seen here: 174.37.130.155/~doing/our-media/videos/v...w-to-change-a-diaper . The Comments feature should appear below the video details.

Thanks!
The topic has been locked.
Support Specialist
14 years 10 months ago #12111 by alzander
Replied by alzander on topic Comments in hwdVideoShare
The box is actually being detected, but Facebook just isn't returning the proper stuff for your page. Not sure why, but you do have a Javascript error on the page which may or may not be the cause. If you look at the HTML on the page, at line 594, you'll see:
window.addEvent('domready', function() { $('button_more8').addEvent('click', dataTweenerFunction8); });
That Javascript is trying to do something to the element with ID #button_more8, but that doesn't exist on the page and is throwing a error. Removing that may help Facebook's Javascript work better... but no guarantees. If you remove it, and it still doesn't work, let us know.

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

None
14 years 10 months ago #12148 by NLM
Replied by NLM on topic Comments in hwdVideoShare
Thanks, Alex. It took entirely too long, but I managed to correct the error that I had created in the video component while preserving my modifications. The good news is that we can eliminate that error as the culprit. The less good news is that the comments still don't appear correctly on the page. I grabbed a Comments Plugin snippet from the Facebook Developers website and dropped it in the video component directly underneath the JFBC plugin code. Except for chewing up the link URL, the comments work as expected using that technique. I'm not sure if it is helpful or not, but I left it on the page.

Thanks,
Steve
The topic has been locked.
Support Specialist
14 years 10 months ago #12156 by alzander
Replied by alzander on topic Comments in hwdVideoShare
Steve,
Sorry to hear that wasn't the issue. On your page now, I'm seeing 2 comment boxes - The top from JFBConnect saying that "an href parameter is required' and the lower is your addition. However, the new comment box is causing other problems that will make it hard to debug. Can you remove the script inclusion in the code you added? Mainly, don't include Facebook's all.js file. JFBConnect should be doing that already, and doing it twice is bad.

I also just noticed you're using JFBConnect 3.2.1. Version 3.2.2 fixed a minor bug with the {JFBCComments} tag which can cause that "href parameter is required" error by always setting the href parameter.. before, it was ok not to do that, but in May, FB changed that policy, and we updated accordingly. If you'd prefer not to upgrade, can you try adding the href to your {JFBCComments href=http://linktosite.com/} tag?

Additionally, JFBConnect 3.4 was just released (yesterday) which has a lot more features and other improvements. It's possible that simply upgrading (just use the Joomla installer like normal) will fix the remaining issue you're seeing. If not, let us know when that script tag is removed and you've upgraded or changed the tag, and we'll start again from there.

For more information on the recent changes to JFBConnect, see:
www.sourcecoast.com/jfbconnect/docs/changelog

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

None
14 years 10 months ago #12161 by NLM
Replied by NLM on topic Comments in hwdVideoShare
Cool. We are making progress! I have removed the snippet from Facebook and upgraded all of the JFBC extensions to 3.4 (I'm a fan of improvements). The comments box now appears and the local comments are working properly. However, with the Post to Facebook box checked, the comments aren't posting to my profile. Also, I am liking the Facebook Share button, but with the upgrade it is appearing alongside the Facebook Like button using the content plugin. According to the Share documentation, I would need to use {JFBCLike layout=box_count show_send_button=true} but I am using {JFBCLike layout=button_count}. Is it supposed to work like this?

Thanks,
Steve
The topic has been locked.
Support Specialist
14 years 10 months ago #12164 by alzander
Replied by alzander on topic Comments in hwdVideoShare
Steve,
When I Like the page above, I get a "Confirm" button after clicking Like. That means that Facebook is throttling Likes from your page (and likely comments on user's wall). My guess is that's simply because it looks like a developer site and has an IP address only (no domain name). This looks shady in Facebook's eyes. On your live site, I don't believe you'd have the problem of not posting to the wall automatically, but can't guarantee that until it's there.

Regarding the Send button, I'd have to check what we default too. While I agree it should be defaulted off, for now, I'd recommend updating your tag to have show_send_button=false which should get rid of it no matter what.

Good luck, and keep us posted on your progress!
Alex
The topic has been locked.