Support » Plugin: Evergreen Post Tweeter » Include Image in Tweet

Viewing 11 replies - 1 through 11 (of 11 total)
  • +1 on this feature. I would love to see it.

    In another post, they ask you to email the maker for support.

    I don’t have the answer but is that what you actually need or are you referring to Twitter cards?

    @paul, It may be twitter cards. Essentially, I would like the tweet to include text from the original post and one image from the post. If that can be satisfied via twitter cards, then that works for me.

    @klint01 – this is an example of a Tweet with a Twitter Card set as summary large image type…

    It doesn’t include an twitter image in the Tweet (and so not in your Twitter image gallery) but pulls info from Meta data. For me I use Yoast SEO to enable Twitter card functionality and then add the following snippet in my functions.php file to change the card type from standard to image:

    add_filter( 'wpseo_twitter_card_type', 'change_card_type', 20 );
    function change_card_type(  ) {
    	return 'summary_large_image';
    }

    Finally you have to go to Twitter to get the functionality turned on https://dev.twitter.com/docs/cards – see the very last section – you just need to go to validator tool.

    Hope it helps.

    @paul, thanks!!! I will look into it.

    @paul, I am finding that the twitter: title and twitter:description are not getting passed to the header. Everything else looks good. Is there something in Yoast that needs to be populated?

    @paul, I think I know why. Looks like it pulls the title and description from the Yoast meta data fields instead of the WordPress fields.

    @klint01 possibly – I think the only think I did in Yoast was go to ‘Social’ select the Twitter tab and then tick the add twitter card meta data box. I do have add open graph meta data selected on the FB tab too so I guess I use Yoast to populate that and have switched it off somewhere else. I know it’s not duplicated at least. Let me know how you go.

    Haven’t figured it out yet. Does not appear to be tied to Yoast Meta Title and Description values. In addition, I am using Yoast for open graph as well for FB. I guess I will have to continue to dig into it.

    @paul, from what I can gather from research. Twitter:title and description will not be written to the header if open graph has already been written. I think I have found my issue to be that robots.txt is blocking Twitter user-agent from reading the image path.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Include Image in Tweet’ is closed to new replies.