Topic-icon Improve Twitter Cards Support

Active Subscriptions:

None
5 years 8 months ago #59332 by altitudes
Hello

It's been a while that JFBConnect generates Twitter Cards (as it does for Facebook Open Graph), but I never really had a look at it. Now that I have, I see only one thing missing considering my needs.

JFBConnect can only generate "Summary Cards", not "Summary Cards with Large Image". Difference is very minor in card tags, but rendering in Twitter is really different.
I would suggest that you add in JFBConnect Open Graph Objects a new parameter:
Twitter Card: Disable / Summary Card / Summary Card with Large Image

Doing that would really improve you Twitter Cards support, and I would even suggest that you rename your "Open Graph" section in JFBConnect configuration to "Social Meta" and change wording in the section to make clear that it's not only about Open Graph, but also about Twitter Cards.

It does not look like a big work, a bit of code and some documentation, but it would make more obvious (and true ;) ) that you support Twitter Cards.
The topic has been locked.
Support Specialist
5 years 8 months ago #59337 by mel
Replied by mel on topic Improve Twitter Cards Support

JFBConnect can only generate "Summary Cards", not "Summary Cards with Large Image". Difference is very minor in card tags, but rendering in Twitter is really different.
I would suggest that you add in JFBConnect Open Graph Objects a new parameter:
Twitter Card: Disable / Summary Card / Summary Card with Large Image

What version of JFBConnect are you using? Looking at the latest version, there are options for Summary Card, Summary Card with Large Image, App Card, Player Card. You can find them at the JFBConnect backend > Open Graph > Configuration section if you scroll down. Do you not see them or are they not working properly for you?

I would even suggest that you rename your "Open Graph" section in JFBConnect configuration to "Social Meta" and change wording in the section to make clear that it's not only about Open Graph, but also about Twitter Cards.

I agree there needs to be some reorganization/clarification. I've made a note for this in our tracker.

-Melissa
The topic has been locked.
Active Subscriptions:

None
5 years 8 months ago - 5 years 8 months ago #59340 by altitudes
Oh sorry, I missed these options that were introduced recently (JFBConnect 7.0.1) and I could not find when going through your documentation ;)

So what is missing, as compared to my suggestion, is the ability to define the Twitter Card options per Open Graph Object. For some pages maybe the "Summary Card" is suitable, for other pages "Summary Card with Large image" is best, and for some other pages disabling Twitter Cards makes sense (e.g. because they are handled by the component itself).

But at least I have an option for a site wide choice now ;)
Last edit: 5 years 8 months ago by altitudes.
The topic has been locked.
Active Subscriptions:

None
5 years 8 months ago - 5 years 8 months ago #59344 by altitudes
And yes, one more thing ;)

In Twitter Card options, it is unclear whether you should put the @ for Website and Creator Usernames. The fact is that you should not, otherwise you get in the page:
<meta name="twitter:site" content="@@altitudes"/>

And note that if you don't define anything for Creator, you get in the page:
<meta name="twitter:creator" content="@"/>

Not very clean ;) This is not clear whether this tag is required or not (see Invalid consumer key/secret in configuration).
Last edit: 5 years 8 months ago by altitudes.
The topic has been locked.
Support Specialist
5 years 8 months ago #59357 by mel
Replied by mel on topic Improve Twitter Cards Support
These seem like valid improvements to me. There should definitely be some cleanup of the Twitter Card features. I've added an issue in our tracker to address these.
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Get the Hide and Seek Toy on Amazon