Home » Twitter

Category Archives: Twitter

Embed Social Media Posts in WordPress

It’s easy to embed posts from many popular social media sites into a WordPress post or page without using any special embed code or plugins — just add the link to the post in the WordPress editing screen in Text mode. It’s always better to keep things simple in WordPress, so it’s a good idea to use the built-in WordPress support rather than using plugins that need to be updated or embed code that may cause conflicts and makes the code on your post of page longer and more complicated to edit.


If you’re looking at a single Instagram post in a browser, you can just copy the URL in the location bar and paste it into WordPress. If you’re looking at a page with multiple posts, follow the three dots to get an option to Go to post and then copy the URL from the location bar.


When looking at a page of tweets or a single tweet in a browser, the unlabeled More menu has an option to Copy link to tweet.


When looking at a group of pins in a browser, click or tap on a pin to open it and copy the URL from the location bar.


When looking at a Facebook page in a browser, click or tap on the date/time link for the post and copy the URL from the location bar.

Embed a Tweet on Your Blog or Website

It’s easy to share a tweet on your library blog or website. You might want to do this if you’re writing about Twitter itself, or if there’s a tweet on your library’s Twitter account that you want to share. Or you might see a tweet on someone else’s account that you want to share. You can just quote the words, of course. You can just quote the words, but it’s easy and effective to embed the tweet directly in a post or page. This presents it in the Twitter context, with all the metadata including date, time and location information, with all links active, including Favorite, Retweet and Reply.

Here are two examples, taken from my personal Twitter account, the first just a plain tweet without an image, and the second with an image:

You’ll find the Embed option under More on the Twitter website: just copy and paste the code and added it to post or page. If you’re using WordPress, it’s even easier. First, find the URL for the individual post by clicking on the date/time stamp for the post. (For new posts, it will give a number of minutes or hours since it was posed, for example, 30m or 2h, otherwise it will have a date, like 18 Aug. Copy the link location or follow the link to get the URL, which will look like this:


Paste it on a new line in a post or page, save the draft and click Preview to see how it looks.

This is a useful WordPress feature, something that formerly required the use of a plugin. But there are times when you want to show the URL for a tweet without having it embedded in the post, as I did above. Just make the URL bold or enclose it in the <code></code> tag to turn off the embedding.

Twittering Books to LibraryThing

LibraryThing has added a handy new feature, the ability to add books to your account using Twitter. You just add your Twitter ID to your profile and then add titles by send tweets in the specified format directly to LibraryThing’s LThing account.

Here’s an example:
D LThing 0803243189 #wishlist #memoir

Screenshot of Adding Books to LibraryThing via TwitterThis message tells LibraryThing to add the book with this ISBN to my library and to add the tags wishlist and memoir. LibraryThing’s system checks for new messages every two minutes, so books are added almost instantaneously. You can also send a title rather than an ISBN. LibraryThing checks Amazon and will use the first matching record if there are multiple editions. (Of course you can always check the records and edit them later.)

This is just another easy way for people to interact with LibraryThing. It makes it easy, for example, for people browsing in bookstores, libraries or elsewhere to add interesting books to their LibraryThing wishlists to follow up on later. I’d like to see in our library system so that people could easily place titles on reserve, or at least add them to a list on the system where they could manage them later. Of course, some of our users may maintain wishlists on LibraryThing of books they plan to request from the library.

Twitter Your Books to LibraryThing — Here are the details on the LibraryThing blog