Skip to content

Commit

Permalink
Add an abstract layer for Twitter API.
Browse files Browse the repository at this point in the history
* twittering-mode.el: Add an abstract layer for Twitter API.
(twittering-call-api): new function.
(twittering-timeline-spec-to-host-method): removed.
(twittering-host-method-to-timeline-spec): removed.
(twittering-manage-friendships): removed.
(twittering-manage-favorites): removed.
(twittering-get-tweets): removed.
(twittering-verify-credentials): use `twittering-call-api' instead
of calling `twittering-http-get' directly.
(twittering-get-list-index): likewise.
(twittering-get-and-render-timeline): use `twittering-call-api'
instead of calling `twittering-get-tweets'. The function also
calculates how many tweets should be retrieved.
(twittering-update-lambda): use `twittering-call-api' instead of
calling `twittering-http-post' directly.
(twittering-update-jojo): likewise.
(twittering-native-retweet): likewise.
(twittering-follow): use `twittering-call-api'.
(twittering-favorite): likewise.
  • Loading branch information
cvmat committed May 8, 2010
1 parent f4b862a commit 99cf29a
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 157 deletions.
22 changes: 22 additions & 0 deletions ChangeLog
@@ -1,3 +1,25 @@
2010-05-08 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el: Add an abstract layer for Twitter API.
(twittering-call-api): new function.
(twittering-timeline-spec-to-host-method): removed.
(twittering-host-method-to-timeline-spec): removed.
(twittering-manage-friendships): removed.
(twittering-manage-favorites): removed.
(twittering-get-tweets): removed.
(twittering-verify-credentials): use `twittering-call-api' instead
of calling `twittering-http-get' directly.
(twittering-get-list-index): likewise.
(twittering-get-and-render-timeline): use `twittering-call-api'
instead of calling `twittering-get-tweets'. The function also
calculates how many tweets should be retrieved.
(twittering-update-lambda): use `twittering-call-api' instead of
calling `twittering-http-post' directly.
(twittering-update-jojo): likewise.
(twittering-native-retweet): likewise.
(twittering-follow): use `twittering-call-api'.
(twittering-favorite): likewise.

2010-05-08 Takashi Masuda <masutaka@nifty.com>

* twittering-mode.el (twittering-update-jojo): 自分のツイートには返
Expand Down

0 comments on commit 99cf29a

Please sign in to comment.