Topic-icon Open Graph and Twitter Cards

Active Subscriptions:

None
7 years 5 months ago #60231 by godweb
Hi,

I use the component only for Open Graph and Twitter Cards. Can you please suggest the optimal setting to exclude all else?

Also, have you ever thought of creating a dedicated component only Open Graph and Twitter Card? My subscription is next to expire, and sincerly I'm sorry to pay $ 42 for the use that I do of the component.

Thank you
The topic has been locked.
Support Specialist
7 years 5 months ago #60236 by alzander

Can you please suggest the optimal setting to exclude all else?

Do you mean all other functionality? Please do the following:
* Don't set any API / Secret keys for any social networks
* Do not enable the JFBConnect Authentication or User plugins
* Do enable the JFBCSystem and any Open Graph plugins you would need for extensions you have enabled.

That's it.

Also, have you ever thought of creating a dedicated component only Open Graph and Twitter Card?

No, we really haven't. We realize there's a lot of features in JFBConnect. We feel that all users should have access to them all as many sites may only start with one feature, but grow into some of the other functionality.

We get a question like this every so often for only one social network for login, only social posting, only profile import, etc. We really don't think a piecemeal solution of many small extensions is the right way to go. We tried something like that at one point where we had a Facebook integration extension and a LinkedIn one and it turned out to be a lot more trouble than it was worth.

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

None
7 years 5 months ago #60240 by godweb
Replied by godweb on topic Open Graph and Twitter Cards
Hi Alzander,

thank you. I have done how you suggested but I still have this code

{FB.init({version:'v2.3',status:false,cookie:true,xfbml:false});FB.Event.subscribe('comment.create',jfbc.social.facebook.comment.create);FB.Event.subscribe('comment.remove',jfbc.social.facebook.comment.remove);FB.Event.subscribe('edge.create',jfbc.social.facebook.like.create);FB.Event.subscribe('edge.remove',jfbc.social.facebook.like.remove);};(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return;}
js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/it_IT/sdk.js";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));</script>

I believe that this code is not related to Open Graph. I have forgotten something?

Best Regards
File Attachment:


File Attachment:


File Attachment:


File Attachment:


File Attachment:




The topic has been locked.
Support Specialist
7 years 5 months ago #60252 by alzander
Your correct. That small snippet of code will always be included with JFBConnect. If you don't use any Facebook widgets or need any of that code, you can use the small change in the post linked below to disable that from showing:
www.sourcecoast.com/forums/jfbconnect/jf...e-load-delays#p57917

We may try to include a similar update in the future when we detect no Facebook features are enabled, but we'd need to make sure it causes no issues to the vast majority of users that use some Facebook integration.

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

None
7 years 5 months ago #60296 by militansi
why facebook developer debugger cannot detect open graph, even though script 'og' appear in every page.
link klikberita.co.id/peristiwa/peristiwa-ibu...irasi-kaum-muda.html
The topic has been locked.
Support Specialist
7 years 5 months ago #60298 by mel
Replied by mel on topic Open Graph and Twitter Cards
The FB debugger has the following issue:

Object Missing a Required Value
Object at URL 'klikberita.co.id/peristiwa/peristiwa-ibu...irasi-kaum-muda.html' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.


The og:type on the page is set to "news". Have you created an Open Graph object for this page? JFBConnect does not set og:type to news anywhere in our code, so how is this set up?Please try changing the type to article or not setting the og:type (as we automatically set to website or article as needed) and re-scraping the page. Unless you've set up a custom object in your Facebook application, this isn't a valid value. Without the required og:type tag set correctly, the scraper has a hard time understanding the other tags.

Try this suggestion, re-scrape and let us know if you continue to have the incorrect tag values / preview.

Also, in the future, please create a new thread for an issue that's unrelated to the previous posts in the thread.

-Melissa
The topic has been locked.