Improve Twitter integration
See original GitHub issueWith the most recent example being #3864, our current Twitter-embedding solution of gatsby-remark-embedder
+gatsby-plugin-twitter
has some downsides:
- Builds break if a tweet is deleted or protected, and they persist unstyled in cache
- Loads a whole extra external JS embed bundle from Twitter
- Just looks kinda ugly
(it might just be me, but it really just dumps text like if you copy-pasted it while adding a couple links in. We’re downloading a library for this?)
As far as an alternative implementation, I can think of two main routes off the top of my head:
Use a custom component with pasted content
Pros:
- simplest implementation code-wise
- doesn’t break regardless of what happens to the tweet
- pretty easy to do overall
- Would need a custom component to add boilerplate that keeps us in line with Twitter’s Tweet display guidelines
Cons:
- doesn’t update if tweet changes, is updated, or deleted.
- Slightly more difficult on editors than other options
gatsby-source-twitter
Pros:
- can maintain the slightly easier workflow of pasting a link instead of pasting a tweet
- can be heavily customized
- (can be) fully static
Cons:
- a significant amount of dev work that could balloon depending on requirements
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Don't Like Twitter's Algorithm-Defined Feed? Here's How You ...
Like Facebook's News Feed algorithm, Twitter's algorithm learns from your on-platform behavior, from the tweets you're engaging with, but you ...
Read more >How the Twitter Algorithm Works in 2023 - Hootsuite Blog
A boost in engagement can help your Tweet's ranking with the Twitter algorithm. And it's well known that Tweets with photos, videos, and...
Read more >5 Strategies to Amplify Your Twitter Engagement | Sprout Social
5 strategies to amplify your Twitter engagement · 1. Massive audience base · 2. Builds exposure · 3. Boosts brand-consumer connection · 4....
Read more >21 Simple Ways to Immediately Improve Your Twitter Account
1. Twitter handle. · 2. Twitter bio. · 3. Logo and cover image. · 4. Promote others. · 5. Retweet and reply. ·...
Read more >11 Excellent Twitter Improvement Ideas - WebFX
Check out what these 10 professionals have to say about improving Twitter! Read their different improvement ideas for the social media platform here!...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing for now, we can come back to it later.
I would go with deleting them for now for simplicity. Let’s not spend time on building our own stuff here.