:gift_heart: Sponsor this project on Github or :coffee: Get me a coffee if you like this plugin!
In v2.0.0 onwards, your
Bearer token
is required to embed tweet threads.
Easily tweet from within Logseq!
If you find it in the marketplace, do install it from there for a more seamless experience.
If you can't find the plugin in the marketplace, please download the latest release here and manually install the plugin in Logseq.
Install the plugin as above.
Navigate to the plugin settings.
Key in your API key, API secret, Access token, Access secret, Bearer token. Then close the settings window.
Start by typing /tweet
anywhere. You can then start tweeting in the next block.
If you only have 1 block, you will be sending just 1 tweet.
If you have multiple blocks, you will be sending a tweet thread.
When you are done composing your tweet/s, simply hit the big blue tweet button to send off your tweets!
Once you have tweeted, the tweet button would disappear and be replaced by the date/time stamp of the tweet/thread, and a link to the tweet (or first tweet of the thread). To delete this tweet/thread, right click on the block and select Delete tweet/thread
.
Note: If you try to delete your tweet immediately after you post it, all the tweets may not get deleted as the Twitter API needs some time to be updated. Do give it a few seconds before initiating the delete.
This plugin also allows you to embed tweets and threads. Simply type /Embed tweet/thread
and enter the url of the first tweet of the thread. It will automaticaly scan to see if it's a single tweet or thread and embed it accordingly/and embed it accordingly.
Successful tweets will look something like this: #tweeted on Feb 22nd, 2022 at 15:34
. You can replace #tweeted on
with your own custom hashtag by changing the plugin settings.
{
"customHashtag": "#tweeted on"
}
Sign up for a developer account and log in.
Go to your developer portal.
Create a project.
Go to your app settings and ensure that your user authentication settings are set to OAuth 1.0a. It should reflect as below after you're done: