Topic-icon OpenGraph Actions and EasyBlog

Active Subscriptions:

None
13 years 6 months ago #27876 by davpar
Just started looking at this.
Followed the tutorial on how to create an OG entry. However, when using Easyblog, you cannot select from a drop-down list of categories for the object. I've tried all sorts of methods, not entering anything, adding a *, adding the top-level category, entering the sub-category, but the Activity log shows nothing being produced. What am I doing wrong? I've followed the set-up as given in the tutorial, but used EasyBlog instead of Joomla Article!
Cheers
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #27884 by alzander
EasyBlog should definitely be showing a category drop-down on the right hand side. Do you see any options on the right hand side, or is it just empty?

Is it possible to take a picture to let us know what you see on the right hand side or any other details? We've tested a lot with EasyBlog and even demonstrated it to some of their developers this past weekend, so it should work.. but maybe there's some incompatibility or oddity we're unaware of.

Oh, also, what version of EasyBlog are you using?

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

None
13 years 6 months ago #27889 by davpar
Hi Alex...
I've attached the screen shot of what I am seeing. I am running EasyBlog 3.6.13546 (latest release)
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #27908 by alzander
Dave,
Yup, you're absolutely right! Not sure what happened, but our packaging system missed a file that's pretty important for rendering that category field. We'll get it fixed over the next day or this weekend and re-release the EasyBlog Open Graph plugin. Unfortunately, there's not much I can do to fix the issue immediately, but it will be fixed soon, and thanks for calling it to our attention!

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

None
13 years 6 months ago #27918 by davpar
Hi Alex.
Thanks for getting back to me. I'll await the plugin fix.
However, I don't know if this problem extends further. I've set the OG up on a K2 content item (although the drop down for K2 plugin does correctly show the categories), but in the backend, nothing is showing up on the Activity Log.
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #27938 by alzander
Dave,
Not sure either. That's definitely been tested extensively, but there's always the possibility there's bugs or configuration issues we just haven't documented well enough. There's a few things to test out:
1) In the Configuration -> Facebook API error, turn "Display Facebook API Errors on Front-End" to "On". The popup that should appear to notify you when a Timeline event has been created will hopefully display some details about why an action was *not* posted.
2) Open the HTML on your page and search for "jfbc.opengraph.triggerAction". You should see that in there if the action is published and set to be an "On Page Load" event. If you don't see that, either the action/object isn't configured properly or the action/object don't think they should be operating on that page.
3) Obviously make sure you're logged in via Facebook to your site.

If none of that works, let us know. Beyond that, we may need to get into the admin area of your site if possible. The Open Graph Action stuff is still so new, we're not sure what can go wrong on user's sites and how best to diagnose/debug oddities like this.

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

None
13 years 6 months ago #27996 by davpar
Hi Alex.
I've tried turning on the API error logging, and I don't see any messages appearing on the screen when I go to the pages in question. Now it's not beyond the bounds of possibility that I've done something wrong in the setup both on the site and in FB but seeing as I'm not seeing any error messages, I'm not sure. I'll send you a PM with my admin logon details so you can dive in when you need to.
Thanks
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #28002 by alzander
Dave,
Thanks for the access and letting us look. I went to the "We are Open" page (a K2 Item). From there, when the action tries to trigger using AJAX, the following Javascript error is thrown:
Failed to load resource: the server responded with a status of 406 (Not Acceptable) http://www.YOUR-URL.com/index.php?option=com_jfbconnect&controller=opengraph&task=ajaxAction&action=3&href=http%3A%2F%2Fwww.u-read.net%2Fu-read-news%2Fwe-re-open
If you go directly to that URL (replace with your domain), you'll see the same error. I'm not sure what's causing that, but it's definitely a problem. The only thing I tried was to tell sh404SEF to 'skip' JFBConnect, which can correct some issues, but didn't seem to do anything here. I reverted that setting.

Does that help you understand the issue more? If not, let us know, but hopefully, you may be able to diagnose a little bit of why the request won't go through (server configuration, firewall, security, etc) that could be preventing it.

Let us know as we'll gladly help investigate more however we can.

Thanks,
Alex
The topic has been locked.
Support Specialist
13 years 6 months ago #28003 by alzander
Oh yeah, another thing I noticed. When you add the action (or object) type, you do not want to include the namespace. So, for your review action, the type should just be "review" not "<yournamespace>:review".

JFBConnect will take care of the namespace, and a lot of other details, depending on whether you've set the "Built-In FB Action" setting.. which, for that setting, should be disabled.

Keep us posted on what you find!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #28006 by davpar
Hi Alex.
Yup, was a restriction on the server! They've removed it.
Can you explain to me what this error message mean in the OG log?
Object at URL 'www.u-read.net/u-read-news/what-is-u-read' is invalid because the configured 'og:type' of 'u-read-blogs:article' is invalid.
Cheers
Dave
The topic has been locked.