About
|
Contact
Login
Nested Javascript templates using underscore.js
by Daniel Winterstein.
more...
Twitter introduces new access level for apps - JTwitter changes
by Daniel Winterstein.
July 2011: Twitter have now introduced the new access level for applications. Twitter apps can now have one of 3 levels: read-only, read-write of public tweets (which is what most people use), and read-write-including-DMs (i.e. full access). Annoyingly, they have done this in a non-backwards compatible way. Existing applications which handle DMs need to ask users to renew their authorisation. This is bad form on Twitter's part to break people's apps for no good reason (and without much warning). Anyway: the latest version of JTwitter provides tools for working with access levels. If you are upgrading access level, you can find out which of your users have upgraded their logins. Example code: Twitter twitter = ... // see other documentation for how to create TwitterAccount twitterAccount = new TwitterAccount(twitter); KAccessLevel accessLevel = twitterAccount.getAccessLevel(); if (accessLevel == READ_WRITE) System.out.println("No DM access here");
more...
From Samurai to Jedi
by Daniel Winterstein.
more...
RSS