How add missing og: into 3th party component?

How add missing og: into 3th party component?

Required Property Missing    og:type is required
Required Property Missing    og:image is required

I need add those tag into jomsport component, becouse when i like a player it publish into FB pictures from joomla content not players pictures.
Example here

fb_100001495344713
Gregor
useravatar
Offline
19 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How add missing og: into 3th party component?

For the type, I'd recommend setting the default for that value in the Open Graph configuration area of JFBConnect:
type=website
That will set the type for all pages. In the upcoming 4.0 release, we'll be setting that as the default for all pages automatically.

For the image, you can do a few different things depending on what image should be used. First, we'd recommend setting a default value either way. The default image can be used if no other image is set, and at least great for making sure your logo is used or something else that represents your site.

Then, on each page, you can either use a Custom HTML module to insert the Open Graph tag with the best image for that page {JFBCGraph image=http://www.site.com/best-image-for-page.jpg} Other options are to create a template override for the component you're using and insert the JFBCGraph tag there, where you can add some PHP code to get best image from that page. I don't know anything about JomSport, so I wouldn't be able to help with that, but their support should be able to help you with a template override.

Hope that gets you started. If you need anything else, let us know!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How add missing og: into 3th party component?

thanks a lot for answer but im so green with it so it shoult be great if i can get more specificity help..
for example on this page HERE it should show this pictures http://mamywas.pl/media/bearleague/bl1310502059817.jpg, but it takes a pictures from joomla articles not from this component? how i can set in oppen graph that it takes on all pages the first pictures from component?
sorry for my bed english.. i hope you can understand it..

fb_100001495344713
Gregor
useravatar
Offline
19 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How add missing og: into 3th party component?

Gregor,
Sorry for the delay in responding.

JFBConnect doesn't have the ability to automatically include the first image from any component as the Open Graph tag. For most components, this would have an undesired effect. Even for standard Joomla articles, the first image from the component is usually the pdf, email, or print icon. Special care is taken by JFBConnect to get the proper first image.

In whatever extension you're using, if there's any way to add text to the page (through the description or other similar area), we'd recommend adding the {JFBCGraph image=xxx} tag there per page. That will guarantee the best image is always used.

Hope this helps explain,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11497
Total Polls:
0
Total Posts:
48402
Posts today:
7
User Info
 
Total Users:
47468
Newest User:
hannatee
Members Online:
2
Guests Online:
958

Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program