summaryrefslogtreecommitdiff
path: root/lib/twitterapi.php
AgeCommit message (Collapse)Author
2009-06-12Ticket #1611 and a bunch of code cleanupZach Copley
2009-06-04Handle the ways Twitter accepts passing the user in the query string.Dan Moore
2009-05-29Ticket #1568 - API should return full user objectsZach Copley
2009-04-18Bringing the presentation of boolean variables (favorited, truncated, ↵Dan Moore
profile_background_tile) and the result from friendships/exist in JSON results from the Twitter Compatible API in line with what the real Twitter API does. Currently, laconica returns text strings enclosed in quotes instead of bare Javascript booleans. This change fixes that. See http://laconi.ca/trac/ticket/1326 for one open issue related to this.
2009-04-16Make API dates more compatible with Twitter - ticket 1432Zach Copley
2009-03-22One function for producing Atom entry for a NoticeEvan Prodromou
Took the various places that we create an atom entry for a notice, and jammed them together into one function of the notice class, and then used that function. Also, added Atom threading extension and categories for hashtags.
2009-03-10Updates to the API to improve Atom feedsZach Copley
2009-03-06First crack at Twitter-like JSON search results for the APIZach Copley
2009-03-04Made /api/account/verify_credentials.format return an extended user object. ↵Zach Copley
Updates to status and user API objects.
2009-02-06Move common_avatar_* functions to AvatarEvan Prodromou
Moved the common_avatar_* functions to the Avatar class. Typically either as methods on the object or as static methods. Replaced all the uses of the functions in other modules.
2009-01-23Merge branch 'master' of ssh://zach@dev.controlyourself.ca/var/www/trunkZach Copley
2009-01-23Bring the Twitter compatible API inline with new uiredesign stuffZach Copley
2009-01-23Merge branch 'master' of /var/www/mublogEvan Prodromou
Conflicts: actions/api.php actions/deletenotice.php actions/recoverpassword.php actions/remotesubscribe.php actions/tag.php actions/tagrss.php actions/twitapiaccount.php actions/twitapiusers.php classes/Notice.php classes/User.php lib/common.php lib/language.php lib/subs.php lib/twitterapi.php lib/util.php scripts/inbox_users.php scripts/update_translations.php Merged development trunk into laconica head. woohoo!
2009-01-08Revert "Twitter-compatible API - update verify_credentials to return profile"Evan Prodromou
This reverts commit b801f73b1f4706f15783f91fd07508a03175592d. Twhirl assumes we return the old kind of results, so we have to do that.
2008-12-15Twitter-compatible API - update verify_credentials to return profileZach Copley
darcs-hash:20081216030455-7b5ce-552516bfb34cb0ae1550787813feb4a4514d6c53.gz
2008-12-14trim some output to avoid excessive whitespaceEvan Prodromou
darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz
2008-12-11Fix bad arguments that were throwing PHP warningsZach Copley
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
2008-12-23move opening brace of class declaration to next lineEvan Prodromou
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-10Remove a bunch of extraneous logging statementsZach Copley
darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz
2008-12-05HTML output in RSS 2.0 and AtomEvan Prodromou
darcs-hash:20081205160205-84dde-68363153ee7f4f75a7c25ca6546816b648406b8b.gz
2008-11-06Twitter-compatible API - don't strip XML-illegal chars from JSON outputzach
darcs-hash:20081106225721-462f3-b80ba75f87a4b36b803868653c956c393a236626.gz
2008-11-04Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds.zach
darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.gz
2008-10-26add SUP links to RSS and Atom, tooEvan Prodromou
darcs-hash:20081026145326-5ed1f-430b98eedef21903caaae47e3355482ae7bfa616.gz
2008-10-16Twitter-compatible API:zach
- Filled in favorites tags in statuses - Filled in more tags in user/show, including undocumented features - Better error handling and more consistent error messages - Code clean-up and refactoring - Removed huge obnoxious comments darcs-hash:20081017023638-462f3-27b5d2709e423c616723d4bcfbc9d7d30a4ad161.gz
2008-10-06Twitter-compatible API - direct_messages/new.json was not answeringzach
darcs-hash:20081006153715-462f3-395d230824398e7aa50aeba200b9b716c64f00c9.gz
2008-09-30Twitter-compatible API - cleaned up sloppy control flow: exit() statements ↵zach
everywhere darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
2008-09-30Twitter-compatible API - factored out redundant JSON printing functionszach
darcs-hash:20080930212526-462f3-abe9f1f2fc395c751b2861e686d638ea0a8ca001.gz
2008-09-30Twitter-compatible API - Favorites now working!zach
darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz
2008-09-30Twitter-compatible API - added source links to statuses/noticeszach
darcs-hash:20080930175354-462f3-b49bef0e1b91ef1b94c01426c4c54900a43554d3.gz
2008-09-29Twitter-compatible API: Direct messages work (everything but destroy())Zach Copley
darcs-hash:20080929050826-7b5ce-201624b32e174ae85b906b92353e39aa043838fa.gz
2008-09-25Twitter-compatible API - rss and atom feeds for direct messagesZach Copley
darcs-hash:20080926012015-7b5ce-da94465ff9c027183e0e674b6152902c302d0131.gz
2008-09-24Twitter-API: Viewing direct msgs in xml and json now workZach Copley
darcs-hash:20080924234857-7b5ce-2f0c60901ee582bdd76ae9596253c2efcc6dc50d.gz
2008-09-09Twitter-compatible API - JSONP callbacks for all methods emitting JSONZach Copley
darcs-hash:20080910025013-7b5ce-95c8dd7eaf83e98e5ee0da5dee8ef07fe4ae5041.gz
2008-08-18Twitter-compatible API - moved show() to the right filezach
darcs-hash:20080819003931-462f3-4b5b838a2fc5f872391581a189d33abdd8eeb744.gz
2008-08-18Twitter-compatible API - running all strings through gettext() nowzach
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
2008-08-15Twitter-compatible API: support for new in_reply_to_status_id in statuses/updatezach
darcs-hash:20080815185317-ca946-11c3f9f7255180d5d6ea7b115b3e33b2abb7fe93.gz
2008-08-08Twitter-compatible API: filled in the source attr for notices accessed via APIzach
darcs-hash:20080809001240-ca946-0a8ec8b965876e1da90c675ad596b32906a21d93.gz
2008-07-30Twitter-compatible API: implemented /users/show.format methodzach
(and some API bug fixes) darcs-hash:20080730213226-ca946-eb89bad91eee630ac286d537ba42f0042b8d2109.gz
2008-07-28Twitter-compatible API: better error handling for replier_by_reply()zach
darcs-hash:20080728230221-ca946-68253052cfcd800a6da979e2a615d4847b1b05f3.gz
2008-07-22correctly return 0 for zero followersEvan Prodromou
darcs-hash:20080722164129-84dde-be64fd4d2fff5951f2d182e44ec1eb457bddd51c.gz
2008-07-20Twitter-compatible API - refactoring and bug fixeszach
darcs-hash:20080720083428-ca946-c14a92345366f2105b3c452a3899714d89692daa.gz
2008-07-20Twitter-compatible API - Error handling that better matches Twitter'szach
darcs-hash:20080720070905-ca946-dda57dd92210461361fd58b7a3244bf24c01e801.gz
2008-07-20Twitter-compatible API: /account/update_location implementedzach
darcs-hash:20080720044756-ca946-2e0823506b352d8364f84b77af644b8fc7f1a00d.gz
2008-07-18init and end documentsEvan Prodromou
darcs-hash:20080718043456-84dde-ffe825e8021e0f803fbbecacdc93d26309853daa.gz
2008-07-18show friendship stuffEvan Prodromou
darcs-hash:20080718041323-84dde-2cc93bd2ced792797db634c4c4cd2a72a6ae61be.gz
2008-07-17Twitter-compatible API - /statuses/show and /statuses/update now workzach
darcs-hash:20080717054411-ca946-e839882ebec3f6d6a12a3f5ecdc1cc403e8afe51.gz
2008-07-16Twitter-compatible API - code cleanupzach
darcs-hash:20080716220223-ca946-e3eed117cded61eb9c2d2805fd07758f883fb85b.gz