Showing posts with label API. Show all posts
Showing posts with label API. Show all posts

June 8, 2011

iOS 5 for Developers

Many news came with the official announcement of the fifth iteration of one of the most advanced mobile operative systems: iOS (previously called iPhoneOS don't forget). Things like messaging, offline reading, cloud synchronization and notifications will be bundle along the september update, meanwhile, we, as developers must learn and relearn the APIs released, which Apple says are more than 1,500.

Of course, we will learn them by the time goes on, however, there is a list of the most noticeable to take note of:

September 20, 2010

Mittratter - Source Code


Ok, the Compilated App has been released here: Mittratter and its post related: http://mittrasw.blogspot.com/2010/09/mittratter-twitter-client-for-osx.html. What would help to other programmers trying to implement oAuth into their developments will be the source code used by Mittratter to sign into Twitter's Servers. Also I will give a brief explanation of how does this thing work.

As I explained here and here, now Twitter uses the oAuth Procedure, well the code behind is quite tricky and might confuse at first sight. Mittratter is an application developed in Objective-C, so the code is going to display here helps to implement those functions into iPhone/iPod Touch/iPad developments as well. Don't forget to do a quick review of the Twitter API where few libraries and implementations could be found. Well, let's get started.

September 9, 2010

Twitter API Has Changed

Since the August 31, 2010 one of the most famous micro blogging social networks or Twitter for everyone, changed their API (aka Application Programming Interface), so all those applications that used to communicate to Twitter's servers via Basic Authentication, they will become useless (like "Status Widget in Moto Blur from Dext).

I realize of this event because I was programming a small client for OSX, so when I tried the old curl -u user:pass twitter.com/account/verify_credentials.xml to check the authenticity of the user/pass provided twitter told me: "Basic authentication is not supported". The documentation of this change says:

Transitioning from Basic Authentication to OAuth isn't simple for everyone. You're going from an approach where you send a login and password with every REST API request you make to one in which you're first having to acquire user authorization, and then sending credentials that both identify your application and the user in every request.
Well, if we want to keep using their services we must complain with their new rules. In further post I will  explain how to use the new method using Objective C