Username and Password to oAuth

February 5th, 2010

A couple of days ago I wrote about how many mobile and desktop application could fail in June. Well twitter have offered a helping hand to many developers. oAuth from a username/password combination.

So how does it work? [The technical bit]

Normally with oAuth the application generators a unique URL from its security tokens, opens a new browser window and asks the user to login, when the user does twitter then redirects back to the site that made the request, and posts a secure token set that, with applications tokens authenticate both the user and the application.

With mobile and desktop applications the process a little different, the application doesn’t have a website to authenticate back to, so it supply the user with a PIN code, that then is user to generate the secure codes within the application.

This doesn’t provide the best in the way of user experience and has been a thorn in the side of many application developers for a long time. Thankfully now you don’t need to, you can just supply the username and password with the oAuth request.

When this request is sent some additional headers are sent

The x_auth_mode, x_auth_username and x_auth_password are new, and if the whole this is sent via SSL, the PIN code is returned to the application directly. No Browser input.

Thanks to @abraham via his blog for the images.

Posted via email from scottherbert’s posterous

Random Posts

Facebook’s New Homepage – great yet another raft of “we want the old facebook” groups

February 5th, 2010

Facebook’s six years old yesterday, and how do they celebrate? With Jelly and cake? No by annoying me!

No may I add with the re-design. It’s their site they can do with it as they wish, but the fact that this will lead a raft of new invites asking me to join the “we don’t like the new facebook, we want the old one back” well you won’t get it, and even if you can find a million people who agree with you that will still only be 1/400th of facebooks membership, so they won’t care if you leave.

For throes less dogmatic but still confused by the new layout facebook has also released a handy guide, a large version of which can be seen here. Love it or hate it, please don’t invite me to join a facebook group about it, because no-one cares about them. That said, feel free to make your voice heard in the comments below :)

A Guide to Facebooks Brand New Homepage in One Handy Diagram.

Posted via email from scottherbert’s posterous

Random Posts

Many twitter apps could fail in June.

February 3rd, 2010

Meany of the most popular twitter application, including almost all desktop and mobile applications could stop working in June.

Back in December Ryan Sarver (Twitters Director of Platform ) took the stage at the Le Web conference in France, and announced that come June twitter would stop supporting basic authorization for third party applications (such as Hootsuite or TwetterDeck).

Basic authorization is the method where you submit your username and password directly to the application.

Twitter wants developers to use what is called OAuth to provide authorization. OAuth, is where twitter opens in a new window and asks you to authorize an application, then either returns you to the web site, or provides you with a PIN number if you are authorizing a mobile or desktop application.

However few if any applications have moved to OAuth, HootSuite for example have been “almost ready” for over a year.

However if the rumours floating around Twitters development forum are anything to go by twitter could be planning something that would make makers of mobile and desktop applications react quicker.

According the rumours twitter is planning to kill off the source tag (the part that says send from [MyApp] ) for non-oAuth applications shortly after the Chirp conference in April and then ban all non-oAuth application in June.

This is likely to force developers into action because the Source tag is a great way of promoting your application, to throes who follow, throes who use your application.

Also it would change such applications to say “send via API”, which some other applications take to imply the account is used by spammers.

I feel I must declare an interest here, I’m currently writing a desktop twitter client which uses oAuth to validate users. I believe TwitterBrite not only fills a gap in the market (being the desktop equivalent of Hootsuite) but also since it uses oAuth not Basic authorization, it’s not only more secure but come April, it won’t make you look like a spammer.

Posted via email from scottherbert’s posterous

Random Posts

A Digest of what I did on February 2nd

February 2nd, 2010
twitter (feed #3)
A Digest of what I did on January 26th http://bit.ly/bTNpX4 [Scott_Herbert]
twitter (feed #3)
Piracy campaign nets innocents http://bit.ly/cRmWkK [Scott_Herbert]
twitter (feed #3)
Apple set to unveil new product http://bit.ly/c6ARte [Scott_Herbert]
blog (feed #1)
twitter (feed #3)
The Apple Tablet is coming tomorrow. McGraw-Hill say so. http://bit.ly/bcwBnG [Scott_Herbert]
blog (feed #1)
twitter (feed #3)
Full PS3 hack released http://bit.ly/dlx1NX [Scott_Herbert]
twitter (feed #3)
RT @mydavidcameron: RT @OtherTPA: RT @libcon: Where are all the ‘Nurses’ for Reform? http://bit.ly/6SFKiF < Excellent piece on right- … [Scott_Herbert]
twitter (feed #3)
RT @mydavidcameron: RT @middleway Whitechapel responds to tory poster in measured manner http://flic.kr/p/7yudJV [Scott_Herbert]
twitter (feed #3)
OK Google surely it’s time to pull out of the UK, the USA, Oz…… http://post.ly/KmTx [Scott_Herbert]
blog (feed #1)
blog (feed #1)
twitter (feed #3)
The Apple iPad, initial thoughts. http://bit.ly/bPnxEB [Scott_Herbert]
twitter (feed #3)
Apple unveils iPad tablet device http://bit.ly/cahE95 [Scott_Herbert]
twitter (feed #3)
twitter (feed #3)
iPad to kickstart tablet market http://bit.ly/b4HJZL [Scott_Herbert]
twitter (feed #3)
RT @GAPeachLove: RT @PerezHilton: Every time u tweet #BeatCancer EBay & Miller/Coors will donate $.01 cent to cancer research. PLEASE Re … [Scott_Herbert]
twitter (feed #3)
just got "Rate limit exceeded. Clients may not make more than 0 requests per hour." zero requests? what’s going on @twitterapi [Scott_Herbert]
twitter (feed #3)
RT @scottros: Almost haiku! RT @AdamWestbrook: Productivity in 11 words: "One thing at a time. Most important thing first. Start now." ( … [Scott_Herbert]
twitter (feed #3)
Google phases out support for IE6 http://bit.ly/bdoX7U [Scott_Herbert]
twitter (feed #3)
RT @lauralassiter: RT @SharkGoddess: PLS HELP FIND CINNABUN,JESSEJAMES’S (@frankyluckman) DOG,REWARD,$2000- http://bit.ly/bqOnXR PLZ RT … [Scott_Herbert]
lastfm (feed #2)
lastfm (feed #2)
twitter (feed #3)
"Ladies And Gentlemen: This Is A Bank" http://viigo.im/2heu [Scott_Herbert]
twitter (feed #3)
Chrome OS to go head2head with the iPad? [Video] http://viigo.im/2hGy [Scott_Herbert]
twitter (feed #3)
Google Extends Outside Research Funding to New Fields http://viigo.im/2hGC [Scott_Herbert]
twitter (feed #3)
6 Great Approaches to Public Speaking http://viigo.im/2hGM [Scott_Herbert]

Random Posts

The Apple iPad, initial thoughts.

January 27th, 2010


No Flash support.

Yep thats right, right in the middle of Apples show case event of the year, this screw-up. The iPad’s browser doesn’t support flash.

As TechCrunch pointed out

But the device features browsing as a key element, and there are going to be plenty of people trying to access their casual Flash games and Flash-based video sites, only to be met with that frustrating icon.

Ports.

Err… one, the iPad’s dock, yep thats right no USB connection, no Micro SD connection, unless that is you buy an additional bit of hardware. How nice of Lord Jobs. Instead of building in two industry standards, users are forced to buy extra items with their new iPad. It’s not like the these standards are large and would take away from the oh-so-important design.

Functionality

As one commentator put it,

There is nothing new or revolutionary about this device, it’s just a very large ipod (not even iphone since you can’t call with it).”

nuf said.

So of course fanboys and wannabe will buy it, but for the rest of us? Throes of us who have to earn money and don’t worship SJ? I really think very few people will buy it.

I’d much rather have an xt2, at least that supports multi-tasking.