badge-generator
badge-generator copied to clipboard
Add tweet badge flow
Use my Twitter guide docs
Split for readability
[]
(https://twitter.com/intent/tweet?
url=https%3A%2F%2FMichaelCurrin.github.io%2Fpython-twitter-guide%2F
&hashtags=twitter-api,tweepy,python,guide,tutorial)
Alternatives. Focusing on link target not the badge
https://twitter.com/intent/tweet?
&text=Normalize.css%3A%20a%20modern%20HTML5-ready%20alternative%20to%20CSS%20resets
&tw_p=tweetbutton
&url=https%3A%2F%2Fnecolas.github.io%2Fnormalize.css%2F
<a class="twitter-share-button" href="https://twitter.com/share" data-count="none" data-size="large" data-text="Normalize.css: a modern HTML5-ready alternative to CSS resets">Tweet</a>
Clicked here on issues, it uses the current URL.
Need to login to Twitter to see if text gets passed
https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2FMichaelCurrin%2Fbadge-generator%2Fissues%2F36
See also existing tool for generating Tweets based on URL, title, description, image URL
https://www.sociallinkgenerator.com/#generator
e.g. from generator above. Title and description are together
https://twitter.com/intent/tweet?
url=https%3A%2F%2Fgithub.com%2FMichaelCurrin&
text=MichaelCurrin%20on%20GitHub%3A%20My%20description
https://tech.cymi.org/tweet-intents
Documentation with example values
https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/guides/web-intent
Related https://publish.twitter.com/# https://help.twitter.com/en/using-twitter/twitter-buttons https://help.twitter.com/en/using-twitter/add-twitter-share-button
Follow button docs https://developer.twitter.com/en/docs/twitter-for-websites/follow-button/overview
Example
- URL: https://michaelcurrin.github.io/badge-generator/
- Title: Badge Generator
- Description: Magically generate custom badges that you can paste in your docs
- Hashtags: vue github documentation readme code
Using https://www.sociallinkgenerator.com was broken because it escaped & when not needed.
Result
https://twitter.com/intent/tweet?url=https%3A%2F%2Fmichaelcurrin.github.io%2Fbadge-generator%2F&text=Badge%20Generator%3A%20Magically%20generate%20custom%20badges%20that%20you%20can%20paste%20in%20your%20docs&hashtags=vue,github,documentation,readme,code
As Tweet text
Badge Generator: Magically generate custom badges that you can paste in your docs https://michaelcurrin.github.io/badge-generator/ #vue #github #documentation #readme #code