Topic-icon Likes and Open Graph actions not working properly

Active Subscriptions:

None
Website: wiredinparent.com

Like/Recommend Problem
Logging in with facebook works fine. I have the social buttons displayed on most pages, but the Like/Recommend doesn't seem to work. When I click it, the box opens and I'm able to type my post and click the button to post to timeline. However, the box doesn't close and nothing is posted to my timeline or shows up in my facebook Activity Log.

Open Graph Actions Problem
I have created a custom object and action in Open Graph. On my site, the user completes an assessment/quiz, and at the end of the assessment I display a jfbconnect open graph button which allows the user to post to their timeline that they "just completed and assessment at wiredinparent.com" When I click that button it opens a dialog where I can add a comment and click post. However, nothing gets added to my timeline and the jfbconnect activity log shows errors. The first time I tried, I got this error: "(#3502) Object at URL www.wiredinparent.com/assessment-start.html?view=sayg has og:type of 'website'. The property 'assessment' requires an object of og:type 'wired_in_parent:assessment'. "

The second time I tried I got this error: "An active access token must be used to query information about the current user."

I have followed the steps for creating the object and action in my facebook app and then creating the object and action in the jfbconnect admin panel. Can you help?
The topic has been locked.
Support Specialist
12 years 4 months ago #40999 by alzander
Like/Recommend Problem
I just tried from one of your articles. When I click the Recommend button, it changes to a "Confirm" link. I then have to click that for the post to occur.
The "Confirm" link is a spam check from Facebook that they use on sites that have had strange behavior recently. That can be from repeated Likes/Unlikes on pages, 'bad behavior' like auto-clicking the Like button for users, or other things that are warning signs to them. I'd recommend not doing any of the above. After a few days of 'good' behavior, the Confirm button should go away.. but there's nothing else that we can do about that.

Open Graph
The page you linked to is a registered only page. That means when Facebook tries to scan the page, they can't see the Open Graph tags that are set on it. We can't get around that. I'd recommend making that page a non-registered page or link the action to some other page that is not-registered.

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

None
12 years 4 months ago #41004 by eengert
Ok, I've configured the object for a public article and added the action button there. Now when I try it I keep getting this errror in the jfbconnect activity log:

(#3502) Object at URL www.wiredinparent.com/assessment-results-low.html has og:type of 'website'. The property 'assessment' requires an object of og:type 'wired_in_parent:assessment'.

I tried clearing the cache, trying different browsers, but I get it every time now. Any ideas?
The topic has been locked.
Support Specialist
12 years 4 months ago #41006 by alzander
It looks like you've set an Open Graph default URL to your home page. That means that all pages Facebook scans should use the tags from your home page. I would highly recommend removing that tag. Then, run your page(s) through the Facebook URL Debug Tool to make sure Facebook re-scans them (or wait a few days for FB to do it on it's own):
developers.facebook.com/tools/debug

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

None
12 years 4 months ago - 12 years 4 months ago #41011 by eengert
Alex,

Thanks so much. That did the trick. I didn't understand that's what the "url" parameter did.

One more thing... Now that it's working, I can see that it's not using the description tag that I set in the Object Open Graph Tags box. It's pulling the first bit of text from the page. How can I override that and force what the description says when it posts to timeline?
Last edit: 12 years 4 months ago by eengert.
The topic has been locked.
Support Specialist
12 years 4 months ago #41016 by alzander
What kind of component is rendering the page? Is it a Joomla article? If so, do you have the Open Graph - Content plugin enabled? That would try to set the description too. In that case, I believe you'd want to re-order the Open Graph plugins (in the Plugin Manager) so that the Content plugin comes after the Custom plugin.. that should make the Custom plugin's settings apply first.

I hope that helps, but if not, as always, just let me know.

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

None
12 years 4 months ago #41053 by eengert
Alex,

Thanks, reordering the plugins solved the issue. Everything seems to be working now. Thanks for your time.
The topic has been locked.
Support Specialist
12 years 3 months ago #41067 by alzander
Awesome! Glad to hear that got you going, and sorry for the confusion. As always though, should you need anything else, just let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks,
Alex
The topic has been locked.