As with everything, once you know how this actually quite easy – but when you first look at documentation on Twitter’s website about how to do this it can be a little daunting.
So, like me, you may have come across some incompatibility within your WebAPI client that means you can’t use .Net 4/4.5 (which is required to use HttpClient and HttpResponseMessage etc.) – or you’re writing a web service to fill in due to this incompatibility. This solution should allow you to access your API (using POST) from .Net 3.5 (and above, maybe even below).
As I’ve recently had to implement the JSON implementation of the Twitter Search API v1.0 as a hotfix into ThinkTwit, I thought it might be useful to share how I did this…
So if you’re here it’s probably because you need to read JSON in PHP or you have to implement an API, maybe the Twitter API. First of all you need to construct your URL, if you are using the Twitter Search API it may look like this:
Continue reading Loading JSON web service in to PHP