Merge lp://qastaging/~jamesh/account-polld/twitter-plugin into lp://qastaging/~phablet-team/account-polld/trunk
Proposed by
James Henstridge
Status: | Merged |
---|---|
Merged at revision: | 11 |
Proposed branch: | lp://qastaging/~jamesh/account-polld/twitter-plugin |
Merge into: | lp://qastaging/~phablet-team/account-polld/trunk |
Diff against target: |
1461 lines (+1383/-9) 8 files modified
cmd/account-polld/main.go (+3/-2) plugins/facebook/facebook_test.go (+7/-7) plugins/twitter/oauth/README.markdown (+22/-0) plugins/twitter/oauth/examples_test.go (+54/-0) plugins/twitter/oauth/oauth.go (+456/-0) plugins/twitter/oauth/oauth_test.go (+172/-0) plugins/twitter/twitter.go (+214/-0) plugins/twitter/twitter_test.go (+455/-0) |
To merge this branch: | bzr merge lp://qastaging/~jamesh/account-polld/twitter-plugin |
Related bugs: | |
Related blueprints: |
account-polld push and account notification
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergio Schvezov | Pending | ||
Review via email:
|
Commit message
Add the Twitter polling plugin.
Description of the change
Add the Twitter plugin, producing notifications for mentions and direct messages. Both of these features work with the permissions provided by the token from the "twitter-microblog" service.
Incremental results are returned using the since_id API option.
OAuth 1.0a signing is done using the external github.
To post a comment you must log in.
On viernes 18 de julio de 2014 08h'49:24 ART, James Henstridge wrote: /code.launchpad .net/~jamesh/ account- polld/twitter- plugin/ +merge/ 227313
> James Henstridge has proposed merging
> lp:~jamesh/account-polld/twitter-plugin into lp:account-polld.
>
> Commit message:
> Add the Twitter polling plugin.
>
> Requested reviews:
> Sergio Schvezov (sergiusens)
>
> For more details, see:
> https:/
110 + // Resolve path relative to Graph API base URL, and add access token
this seems to be a stray comment.
250 + type user struct {
seems to be missing a gofmt/goimports call
97 + lastMentionId int64
98 + lastDirectMessageId int64
just out of curiosity, why are these int64 instead of uint64? Is there a
chance for negative Ids?
I'll do more thorough review in the morning.