Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Codeinwp

    (@codeinwp)

    Hi Wanderlusters,

    It might be a problem with the short url. Twitter card is dependent of url.

    Can you give us an example of a tweet with card and a tweet without card?

    Thank you, we will take into consideration your suggestion about the wp_get_shortlink.

    Best regards.

    Thread Starter Wanderlusters

    (@wanderlusters)

    Yeah it looks like it’s a shorturl issue. I want the plugin to use the full url as the reference url and counturl but I want the shorturl in the text of the tweet.

    I will manually edit your php to see if that’s possible.

    Thread Starter Wanderlusters

    (@wanderlusters)

    Tweets with a card have a clickable ‘View summary’ link at the bottom left of each tweet.

    I’ve been doing some more testing with the plugin and if you use any link other than the full url, or exclude the link, twitter cards are not shown.

    For some reason your plugin is not passing on the original_referer or counturl both of which should be set to the full permalink. That way a custom or short url can be included in the tweet message body as the url and everything will work as expected.

    Would you be able to alter the code to do that?

    Plugin Author Codeinwp

    (@codeinwp)

    Hi Wanderlusters,

    We will try to implement this functionality in the next version.

    Best regards.

    Thread Starter Wanderlusters

    (@wanderlusters)

    Am I correct in thinking this change has not been included in the new version?

    Also you do not have an option to use the wp_shorturl function rather than an external service?

    Plugin Author Codeinwp

    (@codeinwp)

    Hi,

    You are right, none of those changes were included. At this version I was looking just to rewrite the whole plugin and maintain the compatibility with the old version.

    Now after this will be completely live, will be very easy for us to add those things.

    Plugin Author Codeinwp

    (@codeinwp)

    Hi,

    We just added wp_shorturl function, please let me know if twitter cards are working with it.

    Thread Starter Wanderlusters

    (@wanderlusters)

    Great to hear.

    And thanks for adding wp_shorturl.

    ditto on adding wp shorturl
    It’s much better to offer a URL with your domain than a random short url that people don’t know what they’re clicking on.

    Plugin Author Codeinwp

    (@codeinwp)

    Now the pro version support also posts with images ( pulled automatically from featured image )

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Tweets not showing twitter cards’ is closed to new replies.