Best way to search for all tweets posted from my App?

Mar 5, 2013 at 3:45 AM
Hello,

I'm writing a Windows Phone app from which my users can tweet. I'm using LinqToTwitter and it works great. In another section of my App I would like to display tweets made from my app. I can include a hashtag in the tweet made from my App, then search for that hashtag and manually filter results looking for tweets that contain a Source equal to my App's url.

My question is, is this the best way to do it? Ideally I'd like to not have to include the hashtag and just do a smarter search where I specify my app url as the search.status.source. Is that possible?

Any advice is greatly appreciated.

Thanks,
Mike.
Coordinator
Mar 5, 2013 at 6:38 AM
Hi Mike,

The options you have available for searching are documented here: http://linqtotwitter.codeplex.com/wikipage?title=Searching%20Twitter&referringTitle=Performing%20Searches%20and%20Finding%20Trends. But you can include the operators at https://twitter.com/search/ in the Query parameter. I know that you can do a search and use an operator in the query for "source. However, it doesn't seem to be too reliable because I wasn't able to get results on my apps. Additionally, you must have a search term when using source, so I don't if that will produce the results you want.

With the tag scheme, you might already be concerned about the fact that it takes part of your 140 characters. It's also possible that someone might use the same tag if it isn't unique enough. In fact, if your app is popular and people figure out that you're using that tag, one or more people might spam the tag. Sorry, I have to think about the security implications of these things too. ;)

I know Twitter was considering a feature named Annotations at one time, but it never made it into the API. You could visit http://dev.twitter.com and ask this same question or advocate the implementation of Annotations in the API. Someone might be able to give you a better idea than I can.

@JoeMayo
Mar 5, 2013 at 3:27 PM
Thank you Joe, I appreciate the reply and advice.
  • Mike.