Support » Plugin: Newsletter » Twitter block for Newsletter content

  • Resolved Adam

    (@ahardy42)


    Hi

    I require a content block for tweets from Twitter to add to the newsletter.

    Every week I want to pick the twitter highlights from our twitter feed and put them in a newsletter. This is essentially a twitter URL, the text, and an image.

    I haven’t seen a way to do this at all. Is it something that could be added easily to the Newsletter Plugin? It’s something I could potentially pay for if it saves a lot of time and isn’t too expensive.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Adam

    (@ahardy42)

    Just discovered I could do something manually with HTML but that would take way too long.

    Twitter displays external links by grabbing the linked page’s title, excerpt and banner image which are specified by header tags in the linked page’s HTML header.

    So a tweet consists of:

    – a user name
    – a user avatar image URL
    – user comment
    – link with image URL, title & excerpt

    This takes quite an effort to compose manually. Automating a block to accept the tweet URL from Twitter, fetching the parts above and composing the HTML would be turn the operation into a 1 minute job.

    Thread Starter Adam

    (@ahardy42)

    I have duplicated this message on the Newsletter Plugin website forum.

    Plugin Author Roberto TNP

    (@webagile)

    Blocks can be dynamically and easily added to the composer with a little effort. A block is a small set of files: an icon, a block renderer and block options.
    See https://www.thenewsletterplugin.com/documentation/developers/dev-composer-blocks/

    Thread Starter Adam

    (@ahardy42)

    Hi @webagile I talked to a couple of different WordPress developers about creating such a block for incorporating tweets into the newsletters and they were not very positive about the idea – in fact no-one offered to do it even.

    One issue is that you TNP developers might decide to implement Gutenberg blocks in your Newsletter content instead of custom TNP stuff. If you have plans to do that, it doesn’t make sense for me to invest in developing a custom Twitter block.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.