Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an abstract layer for Twitter API.
* 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