Topic-icon OpenGraph video.watches

Active Subscriptions:

None
11 years 4 months ago #28326 by paz
OpenGraph video.watches was created by paz
Hi Alex,

Ive been struggling with the OG implementation and cant get any results in my test user account on FB. Here's what Ive done

K2, plugin. Ive defined my own og metas in the K2 template. type=video.other

In JFB-OG:
action = video.watches
object = video.other

The jscript is being written out which should trigger.

In FB I have my test users, im logged into my site using that user and I try to trigger the action after 30 seconds with no result.

I note that the jscript trigger seems to be convoluted with some other stuff with is related to the gavick template, but jscript is not my fortay.

Ive disabled jch, memcached and everything which would modify the source. Im hoping you might be able to help?

BTW, does the FB app require being in sandbox mode?

Also in your documentation, it says "see below about determining your object type" and no reference below how to do this.

p.
The topic has been locked.
Support Specialist
11 years 4 months ago #28331 by alzander
Replied by alzander on topic OpenGraph video.watches
Your app does not need to be in Sandbox mod. For actions that haven't been approved by FB, only your admins or test users can trigger the apps.. so you can easily test on a live site without causing issues for your users.

I'll have to check the documentation about determining the Object type.. sorry about that.

As for your issue, there's a few things:
* If Gavick's Facebook integration is enabled, that will likely cause some conflicts. You should definitely disable that.
* JFBConnect will overwrite other Open Graph tags that it's trying to set as well. So, even if you have the type defined in the K2 template, if you also have a JFBConnect object defined for that page, we'll replace the tag you've hard-coded. That's necessary for us to make sure the right tags are always on the page.
* Turn on "Display API Errors on Front-End" in the Configuration area of JFBConnect. That may show more information in the popup if the action isn't triggering.
* Can you post a URL of a page you're testing with so we can see what's happening? We won't be able to trigger the action, but may be able to see some issues regardless.

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

None
11 years 4 months ago #28334 by paz
Replied by paz on topic OpenGraph video.watches
Hi Alex,

Thanks again for your time. Gavick, sh404, all those which might have facebook integration is disabled. Display API errors on front end has always been enabled but Ive never seen anything from it.

Here is one of the urls:
www.inthemix.me/archive/dubai-legends/danz-kay-tek.html

I can PM you a login if necessary.

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

None
11 years 4 months ago #28335 by paz
Replied by paz on topic OpenGraph video.watches
I noticed something in the javscript console:

www.inthemix.me/index.php?option=com_jfb...%2Fdanz-kay-tek.html

and if i try that URL separately it returns:

Error: The action you're trying to publish is invalid because it does not specify any reference objects. At least one of the following properties must be specified: movie, tv_show, tv_episode, episode, video.

the FB og tester does return proper defined values though so Im a bit confused what to look into next.

p.
The topic has been locked.
Support Specialist
11 years 4 months ago #28348 by alzander
Replied by alzander on topic OpenGraph video.watches
Everything does look correctly setup as far as the object/action go.. the only thing I see wrong is that your site seems to be trying to use SSL for some stuff. If you open the HTML on your page, you'll see https is being used for a few of your links. It's also not just within JFBConnect, JomSocial seems to be adding their links thinking that the current page is being loaded over https.

One of the Open Graph tags, in particular though, is probably the problem:
<meta property="og:url" content="https://www.inthemix.me/archive/dubai-legends/danz-kay-tek.html"/>
That's saying that the 'real' link for the current page is the https version. However, you don't seem to have a valid SSL certifcate. The Facebook Debugger can ignore things like SSL certificates. Their real parser for actions won't though, so it's probably not reading your object page at all... and then throwing the error you see.

Do you know why your site is using a mix of http and https for URLs? That's gonna need to be figured out first and I think it may help you with other issues, since JomSocial's AJAX plugin is being loaded over https, which means that anyone that hasn't explicitly approved your SSL cert by going through the warning won't be loading that file.. and a lot of JomSocial's functionality won't work without AJAX.

Hope that helps. Would love to hear that the video action is working for you, so let us know if you get it going. Excited to hear about any actions that users are submitting.

Thanks,
Alex
The topic has been locked.