Topic-icon Og:type article

Active Subscriptions:

None
12 years 11 months ago #33985 by Hendricks
Og:type article was created by Hendricks
Hi, I am using JFBConnect 5.0 on Joomla 2.5. Also using HWDMediashare.

I am having trouble sharing HWDMediashare video content: instead of a playable video (as supported by Mediashare), my contacts get an article with static thumbnail.

The HWDMediashare support team think it's to do with JFBConnect setting og:type to article for every page, which is overriding Mediashare's own FB share function. Can you suggest a way to avoid this conflict - i.e. is there a parameter I can configure in JFBConnect, either via the backend admin or manually in PHP, that will prevent pages being set as og:type article?

Hope this makes sense.

Thanks!
The topic has been locked.
Support Specialist
12 years 11 months ago #33990 by alzander
Replied by alzander on topic Og:type article
There's no way to stop JFBConnect from not setting the type on the page. What you can do though is use JFBConnect to re-set the type back to video. To do so, install and enable the Open Graph - Custom plugin that comes with JFBConnect. Then, go to the Open Graph area of JFBConnect and click into "Objects". Create a New Custom Object.

For the "type" set it to "video" and check the "Built-in Facebook Object" box. Set the name to anything you want, like HWDVideos.

Finally, in the URL Query Params, you'll need to set the URL parameters that are for any video pages in HWD Video Share. For instance, if the videos are on a URL like:
index.php?option=com_hwdvideoshare&view=video&id=12
You'd put:
option=com_hwdvideoshare
view=video
That will add the video tag for any of those types of pages, regardless of the id of the video. Please note that I'm completely making up the URL above, I don't know HWD very well, but hopefully that gets you the gist..

Sorry it's a little confusing. I can imagine adding a way to 'skip' adding OG tags to certain components as *some* do it correct. Most, honestly, do it incorrect and so we just take it over ourselves.

I hope that helps, but if not, let us know.

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

None
12 years 11 months ago #34086 by Hendricks
Replied by Hendricks on topic Og:type article
Ok thanks, I'm half way there with the Open Graph plugin but the it's the URL query parameters that I'm not sure about. I use search engine friendly URLs so the typical URL for a video page will be:

bboytv.co.uk/index.php/en/videos/288-sin-crew-cambridg

What do I enter in this case?

Thanks
The topic has been locked.
Support Specialist
12 years 11 months ago #34093 by alzander
Replied by alzander on topic Og:type article
The query params field is the same regardless of whether you use SEF URLs or not. You need to put the non-SEF query params there. The best way to determine those is to (temporarily) turn off SEF URLs and go to the page you want to configure. Get that URL and add the query params to the Open Graph object as described above. Those values will work even with SEF URLs as Joomla 'breaks' down the SEF URL into the query params automatically.

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

None
12 years 11 months ago - 12 years 11 months ago #34097 by Hendricks
Replied by Hendricks on topic Og:type article
Ok, so this is what I have done so far:

- Turned off SEF URLs and saw the following URL:

bboytv.co.uk/index.php?option=com_hwdmediashare&view=mediaitem&id=288:sin-crew-cambridg&Itemid=457&lang=en

- I created a custom object in Open Graph with:

type: video
name: HWDVideo
Built-in Facebook Object: ticked
Published
URL Query Parameters: option=com_hwdmediashare
view=mediaitem (on two separate lines)

- Saved and closed

- Tried to share a video via HWDMediashare's Share button, selecting Facebook

- My shared content shown to friends is still just an icon of the video, but not the playable video as it should be.

Any more ideas?
Last edit: 12 years 11 months ago by Hendricks.
The topic has been locked.
Support Specialist
12 years 11 months ago #34187 by alzander
Replied by alzander on topic Og:type article
Floyd,
Apologies for the delay. I'm not sure why it's not showing correctly when being shared, but I'm also not terribly familiar with video content tags in general.

Can you try the following:
* Disable the JFBCSystem plugin, temporarily, and run your page through the Facebook URL Debug tool. That will show you the tags that HWDVideoShare is setting
* Then, re-enable the plugin and re-run the page through that tool again and see what's different.

Let us know and we can help you get things going. I know it's a bit of a pain, but the nice thing is that, when you get this done, we can help you create an 'action' that can automatically be posted to a user's Timeline when they watch your videos.. if you're interested. It can also be a button for sharing or something like that. Just let us know.

I hope that helps, and keep us posted on what you find.

Thanks,
Alex
The topic has been locked.