Searching for words and phrases on Twitter

Hashtags (they look like this: #word or #phrase, eg #Event2015) are the easiest things to search because they form clickable links (click on one and you’ll be taken to the search results page for that tag).

If you’re using a phone or tablet app you’ll probably see all of the hashtagged tweets with the most recent at the top but if you’re viewing on desktop Twitter you’ll probably be shown the Top tweets for that tag first, and you can click ‘Live‘ to see ALL of them.

Screen Shot 2015-07-18 at 00.54.36

To search for anything on a Twitter third party app you’ll likely have either a search box or a magnifying glass symbol which will bring this option up. For really detailed searches I recommend using the desktop Twitter version which has all the bells and whistles.

Basic search is at https://twitter.com/search-home
Advanced search is at https://twitter.com/search-advanced and the list of operators (eg how to modify your search best) are below.

Searching for a tweet sent by someone
Use the from:username format to find all tweets sent by someone about a particular topic. Here are all my tweets mentioning the river Thames: from:jobrodie thames

You can adapt the search string to find tweets sent from:username to:someoneelse keyword to find all tweets sent from one account to another on a particular topic.

Screen Shot 2015-07-18 at 13.13.23

Further reading
Searching for a link (URL, address) on Twitter

Sharing a tweet via its link will likely notify the user

Every tweet sent has its own web page with an address (URL) that will point to it. You can share this link in a tweet of your own, how the tweet appears will depend on what app or platform other readers are using.

On Echofon for iPhone the tweet will appear as your text plus a clickable link to the tweet but on desktop Twitter the system will convert the tweet’s link into a visible embedded tweet that shows up without having to click on the link or tweet to view it. I believe this is the same on Twitter for iPhone etc. It will also appear in the Notifications tab of the original tweet sender.

It’s important to be aware of this as people have previously used this technique to ‘sub-tweet’ (ie send a critical tweet about someone else’s tweet without that person being aware). Fortunately, or unfortunately, Twitter changed how such tweets were handled and this is now more easily discoverable. Previously they’d have had to search for tweets mentioning their username, eg by searching username or twitter.com/username).

Avoid this by… using http://www.donotlink.com/ to hide the tweet’s link, then it will not notify the tweet’s author.

“Forensic” Twitter

I am not a lawyer and this is not legal advice (I am not qualified to give it). Be very careful about relying on this information – if I am wrong my advice might damage your case! – and always seek appropriate legal advice if you need it. Different localities will have their own laws and application of those laws. [Page updated 11 March 2017]

See further reading at end.

This post is written for people who need to keep an eye on a particular set of tweets, or information on a website. An example might be where someone says something (on Twitter) that crosses a line and may result in intervention from police, statutory bodies or some other legal body, and a case may even end up in court based on what was said on Twitter. I have no idea what type of evidence would be required to satisfy a court but here are some suggestions for capturing tweets as evidence, and their limitations.

If you’ve been blocked you can still view and save tweets by logging out, using a third party app (like Echofon for iPhone or Dabr for desktop) or creating a spare account.

Table of Contents
1. Capturing the tweets while they’re still available
• 1a. Screen capture / screenshot
• 1b. Freezepage
• 1c. Storify or embedding in a blog
• 1d. IFTTT – capturing the tweets as they’re sent
2. Capturing deleted tweets
3. What software did they use to tweet?
4. Detect changes on a website, or new information being published
5. How many followers did X have at point Y?
6. Further reading

1. Capturing the tweets while they’re still available
1a. Screen capture / screenshot

Have the tweet visible on the screen and take a screenshot. Methods for doing this depend on the device but see [Taking a screenshot] for some suggestions.

For a better picture use desktop Twitter (and include the https:// link that’s visible in the address bar). Most Twitter platforms, including desktop, will also show you who has favourited or RTed the tweet (which may be useful evidence in itself of the spread of the tweet) but you may need to note the accounts that have done this as it’s not necessarily obvious from the pictures (and they may subsequently change their picture). You can also capture some of the replies too.

Note that more people might reply to the tweet later (or favourite it, or RT it) so this process may need to be repeated periodically.

Advantages: captures the tweet as it is, even if later deleted
Limitations: because an image can be altered it may not be deemed strong enough evidence. However I think it would be a ‘not unreasonable supposition’ to believe that someone stating under oath that it is true might satisfy the courts, though see tweet below. You might be lucky and find that others have created a corroborating screenshot or other way of verifying the tweet too.

1b. Freezepage
To capture a copy of the ‘page’ on which the tweet appears (you need to use the tweet’s own address – you can find its URL in the tweet’s timestamp. Make sure you remove the S from the httpS bit of the address [update 22 March – removing the S from https:// to make it http:// may no longer be necessary, but if it gives an error message try that first]. You can create an account, or not http://www.freezepage.com/

1c. Storify or embedding in a blog
A tweet, once embedded in a Storify story or blog, will remain visible there even once deleted. It will look slightly different (you won’t be able to favourite it or RT it) but it will remain there otherwise exactly as it was.

Storify embeds: Search for the name of the person, or words in the tweet, or if you have its address use the link search to pin it down and save it in your Storify. See [How to use Storify like a pro to collect tweets] for more info.

Blog embeds: Either use the embed tweet option (previously found in the three … dots but this has been replaced with a down arrow to the right of the tweet) or, for WordPress dot com blogs (as this one) you can just use the tweet’s address and it will autoembed.

1d. IFTTT – capturing the tweets as they’re sent
The free online tool IFTTT (If This, Then That) lets you capture a copy of a ‘corpus’ (“bunch”) of tweets eg all from a particular user or all containing a hashtag. You can have them emailed to you, or you can set up a spare Twitter account to rebroadcast them, or you can have them collected in a Google Drive spreadsheet or Evernote file. I’ve not written a blog post specifically about this but the information can be gleaned from the second part of [Downloading your old Twitter faves, setting up IFTTT to capture new ones] and another post that might be useful on how to use IFTTT is [How to display Instagram pictures correctly in tweets using IFTTT].

With IFTTT you authorise it to access your own Twitter account (to let it interact with Twitter) then set up a ‘collection bin’ into which you’ll put the tweets, so you can authorise it to use Google Drive or something else. IFTTT calls the different services channels and the instructions to “if a tweet contains X send an email to Y” a recipe.

2. Capturing deleted tweets
While deleting a tweet removes it from Twitter’s public servers it is still potentially findable. If you are looking for it a short while after its deletion (I’m not sure exactly how long but it’s a matter of hours and no guarantees) you may find it via Google’s cache (see tiny green arrow in picture below, flanked by orange arrows, that is the link to find a cached copy, if available). Note that tweets that have previously been embedded in a blog post or used in a Storify story will still remain even after the tweet is deleted. Other search engines have caches too and you can see an example here http://cachedview.com/

screen-shot-2016-10-16-at-21-24-12

Other things to try if you can’t find the tweet(s) are to see if others have retweeted the text of the tweet(s) [search for words in the tweet] or a screenshot [in which case they may have included the original @handle of the person who deleted the tweet so try searching for to:handle].

I think if you’re the sort of person who knows what an API is then you might be able to do something on that front but alas this exceeds my knowledge.

3. What software did they use to tweet?
All tweets used to have a line at the bottom of them saying what software had been used to send the tweet but Twitter no longer adds this in, however many third party apps do. Echofon for iPhone will tell you how a tweet was sent. Because Echofon is used on a mobile device it’s reasonable to assume that if that was used to send the tweet the person was using a phone. If it says something like ‘Twitter for web’ then they may have tweeted from a desktop computer.

Limitations: On an iPhone it’s possible to download the Chrome browser and use Twitter’s desktop version. Tweets sent in this way will appear as ‘from desktop’ yet will have been sent by mobile phone.

4. Detect changes on a website, or new information being published
Use the change detection service and get it to send you an email if the text on a website is amended https://www.changedetection.com/, or you can set up a Google Alert to email you if a particular word or phrase appears in a newly published page on the internet https://www.google.com/alerts

5. How many followers did X have at point Y?
One of the considerations in the recent Monroe v Hopkins Twitter libel case considered how many followers the parties had at the time the relevant tweets were made. This was estimated but in some cases you’d be able to find the exact number thanks to the Internet Archive. Whether or not someone’s Twitter account has been archived will probably be fairly random (and presumably new accounts won’t be included – though you can of course manually add their page to the archive, or use Freezepage as mentioned above) – I was quite pleased to find that my page has been archived. The Internet Archive takes snapshots at particular time points, often several months apart – it’s pot luck what’s there.

The Internet Archive has taken several snapshots of my Twitter account and one, made at 14:52 on 14 Feb 2010 showed that I had 820 followers, by 3 August 2014 this had increased to 3,631. My account has had 44 snapshots taken between 23 Dec 2008 and 9 Jan 2017. Use the format https://twitter.com/USERNAME and insert it here to test an account’s history.

6. Further reading

Is this Twitter follower real or a spam account?

Bad news – an awful lot of your followers aren’t real people but fake ‘bot’ (robot) followers. They follow people for a variety of reasons including hoping to get you to follow them (so that they start to look more real and valuable). You might be followed by several similar accounts in a short space of time and it takes a while to get a good sense of whether or not an account is fake.

Any of these ‘behaviours’ suggest that a follower might be fake, but remember that they’re also done by people new to Twitter – so avoid jumping to conclusions.

  • A username with a lot of alphanumeric characters – while some use this deliberately (and you’ll see that they are actively tweeting and interacting with people) mostly these are fake accounts sending out generic, identical replies.
  • An ‘egg’ for an avatar – this is the default picture on Twitter and while some have never changed this image it’s a good idea to do so.
  • Following many (especially celebrity accounts) but only followed by few – be careful, they may have just joined and begun following a lot of people before getting going. Twitter actively encourages new users to follow celebrity accounts by making them very prominent during the registration process. You can look at their profile to see when they joined though.
  • Zero tweets – but don’t forget that people can use Twitter as they please and they might just want to follow some accounts for news only and don’t want to tweet their own stuff. Spam accounts also do this though.
  • Posting the same (nearly identical) tweets as other people

You can do a reverse image search on their avatar (profile picture) and see if it’s been taken from stock photography resources, or stolen from another user and you can search for a phrase from one of their tweets and see if loads of accounts are tweeting the same thing. Similarly for links (be cautious about clicking on the link but it’s safe to search for the link).

Mostly it’s down your own judgement – you’re not required to do anything about spam accounts but reporting the obvious ones improves the Twitter ecosystem for everyone.

Further reading
Reporting spam on Twitter from Twitter Support

How did that person find me on Twitter?

Sometimes you might find that you’ve been followed or tweeted to by someone that you weren’t expecting to find you on Twitter. This can happen for several reasons:

  • they already follow other mutual friends and Twitter’s algorithms have suggested you as a possibility
  • they searched for your name or someone told them (this includes your tweet being retweeted into their timeline)
  • the email address you’ve used for Twitter is in their email contacts list and they’ve let Twitter trawl that list to find people’s matched Twitter handles – you can switch this off by making yourself less discoverable (make sure “Let others find me by my email address” is unticked)
  • you’ve added your mobile phone number to Twitter during registration (make sure “Let others find me by my phone number” is unticked too (also you can remove your phone)
  • you’ve added your Twitter info to your website

If you’ve changed your Twitter name / handle in the hope of being less findable then remember that this probably won’t work. Threaded conversations (if you click on a tweet you’ll see all its replies) will likely indicate your current name because any reply you sent previously will now be attributed to your new Twitter name.

“Although an account can change its @handle, it can never change its Twitter ID” – http://tweeterid.com/

Searching for a link (URL, address) on Twitter

Twitter’s search will let you find almost* all the tweets that contain a particular link. You can just plug in part of the link into search (desktop Twitter‘s best for this). To view all the tweets choose ‘live’ from the options and scroll down to go further into the past.

What have your friends said about this link?
If you want to see what people you follow have tweeted about this link you can restrict the search just to them. This can be useful if you click on a link earlier in the day, forget who sent it but want to acknowledge them in a tweet you subsequently send – you can work out from whom you saw the tweet.

Screen Shot 2015-07-18 at 00.54.36

Screen Shot 2015-07-18 at 00.54.45

A note on how to search for a link – try different bits of the address
Twitter’s search can be a bit mercurial – or, I haven’t worked out exactly what’s going on yet. Sometimes putting the entire link in yields nothing… sometimes it yields something. I generally select a bit of the link and choose a bit that’s likely to winnow out irrelevant tweets.

A note on the appearance of the link
Twitter does not distinguish among modified (shortened) links that point to the same web page, so searching will bring up a variety of different-links all going to the same place.

Example: here’s an address: http://www.theguardian.com/healthcare-network/views-from-the-nhs-frontline/2015/jul/13/wasting-gps-time-no-i-cant-prescribe-you-new-shoes and if you search for it on Twitter you’ll get these results which include these shortened versions of the URL which all point to the same page

If you want to share a link without having it show up in searches try something like donotlink.com (effectively it ‘cloaks’ the link by pointing to an intermediate site first).

Saving time when searching again
If you’ve just searched for apples and bananas you’ll first see all the Top tweets and then have to click ‘Live‘ to see all of them. If you decide you want to search for apples and pears you can avoid this two-step process by editing the search-result-link in the address bar (desktop Twitter only).

The first link is: https://twitter.com/search?q=apples%20and%20bananas&src=typd&vertical=default&f=tweets

Replace bananas with pears and press ‘go’.

https://twitter.com/search?q=apples%20and%20pears&src=typd&vertical=default&f=tweets