Commit Graph

63 Commits

Author SHA1 Message Date
zach
e980ebc714 Twitter-compatible API - Added /statuses/followers to methods that
require bareauth only if no nickname/id is supplied.

darcs-hash:20080819195431-462f3-93d27cf980fd09aeb30ea741639c1650baecad60.gz
2008-08-19 15:54:31 -04:00
zach
93d25bec33 Twitter-compatible API: implemented /users/show.format method
(and some API bug fixes)

darcs-hash:20080730213226-ca946-eb89bad91eee630ac286d537ba42f0042b8d2109.gz
2008-07-30 17:32:26 -04:00
zach
140689800b Twitter-compatible API - Error handling that better matches Twitter's
darcs-hash:20080720070905-ca946-dda57dd92210461361fd58b7a3244bf24c01e801.gz
2008-07-20 03:09:05 -04:00
Evan Prodromou
2d47b3ad64 correct handling of bareauth
darcs-hash:20080719171605-84dde-4b23eb6896d9bb6e57ce65de374acaf1703b7463.gz
2008-07-19 13:16:05 -04:00
Evan Prodromou
dfbc427e04 bare auth for friends, too
darcs-hash:20080719171023-84dde-4d562898d10a2342db271640951fcf0ba552cc01.gz
2008-07-19 13:10:23 -04:00
Evan Prodromou
0c271c9d17 try again with user_timeline auth
darcs-hash:20080719155526-84dde-5157cd11d2f96128321b46cb2bea8ff27ce4478f.gz
2008-07-19 11:55:26 -04:00
zach
cebbff432a Twitter-compatible API - added missing double quotes to WWW-Authenticate header
darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz
2008-07-18 14:50:53 -04:00
zach
6125785064 Twitter-compatible API: white listed user_timeline and show as per twitter
darcs-hash:20080718023334-ca946-5d158ade124318f7f846d1f8e0f35ccf1a234027.gz
2008-07-17 22:33:34 -04:00
zach
b5659ed85a Twitter-compatible API - /statuses/show and /statuses/update now work
darcs-hash:20080717054411-ca946-e839882ebec3f6d6a12a3f5ecdc1cc403e8afe51.gz
2008-07-17 01:44:11 -04:00
zach
ac2d811a46 Twitter-compatible API - code cleanup
darcs-hash:20080716220223-ca946-e3eed117cded61eb9c2d2805fd07758f883fb85b.gz
2008-07-16 18:02:23 -04:00
zach
3df358a9e9 Prepended 'Twit' to Twitter-compatible API actions (renamed action
files) to make it more clear what the action files are for.

darcs-hash:20080715043121-ca946-bb7acd42271117dbb77d5e16292673a4b8cfad53.gz
2008-07-15 00:31:21 -04:00
zach
cc55a45f4b Second shot at figuring out action dispatch for Twitter-compatible API
darcs-hash:20080714080741-ca946-1b2f8c026f433e27a30abc104ca2dba11b9b662e.gz
2008-07-14 04:07:41 -04:00
zach
0c90e94864 First volly at a Twitter-compatible API. Just working out the
detials of 1) Basic Auth and 2) dispatch to the right Action class
files to handle the requests.

You can hit it with...

	http://localhost/laconica/api/public_timeline.json

or to try Basic Auth you can try something like:

	http://nickname:password@localhost/laconica/api/statuses/friends_timeline.xml

Although that actual method isn't done yet, so it should authenticate
and then complain.

darcs-hash:20080712081247-ca946-acd3e0e2762c7d9ff0cb3cd7a53cfdfcc5b26660.gz
2008-07-12 04:12:47 -04:00