Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the AnyEvent-Twitter-Stream CPAN distribution.

Report information
The Basics
Id: 66266
Status: resolved
Priority: 0/
Queue: AnyEvent-Twitter-Stream

People
Owner: Nobody in particular
Requestors: SILASMONK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.20



Subject: Cannot pick up direct messages aimed at me
I can get the example track.pl script to work (running AnyEvent::HTTP << 2.0). However when I try to write a script to monitor the userstream API to pick up direct messages sent to me, I get the initial list of followers but no other messages.
From: znmeb [...] borasky-research.net
On Mon Feb 28 19:44:24 2011, SILASMONK wrote: Show quoted text
> I can get the example track.pl script to work (running AnyEvent::HTTP
<< Show quoted text
> 2.0). However when I try to write a script to monitor the userstream > API to pick up direct messages sent to me, I get the initial list of > followers but no other messages.
Have you tried sending yourself a DM to verify this? It turns out you can send a DM to yourself - it's actually quite useful for reminding yourself to pick up milk. ;-)
On Mon Feb 28 19:44:24 2011, SILASMONK wrote: Show quoted text
> I can get the example track.pl script to work (running AnyEvent::HTTP << > 2.0). However when I try to write a script to monitor the userstream > API to pick up direct messages sent to me, I get the initial list of > followers but no other messages.
Do you have example code for getting DMs? Thanks.
Subject: Re: [rt.cpan.org #66266] Cannot pick up direct messages aimed at me
Date: Tue, 19 Jul 2011 15:36:54 -0700
To: bug-AnyEvent-Twitter-Stream [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
You have to (re)authenticate your app for OAuth2 to access Direct Messages. On Tue, Jul 19, 2011 at 3:35 PM, Gavin Henry via RT <bug-AnyEvent-Twitter-Stream@rt.cpan.org> wrote: Show quoted text
>       Queue: AnyEvent-Twitter-Stream >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66266 > > > On Mon Feb 28 19:44:24 2011, SILASMONK wrote:
>> I can get the example track.pl script to work (running AnyEvent::HTTP << >> 2.0). However when I try to write  a script to monitor the userstream >> API to pick up direct messages sent to me, I get the initial list of >> followers but no other messages.
> > Do you have example code for getting DMs? > > Thanks. > >
-- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #66266] Cannot pick up direct messages aimed at me
Date: Tue, 19 Jul 2011 16:01:47 -0700
To: bug-AnyEvent-Twitter-Stream [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
I recommend you to discuss the issue about the API on Twitter dev forum, not here. On Tue, Jul 19, 2011 at 3:37 PM, miyagawa@gmail.com via RT <bug-AnyEvent-Twitter-Stream@rt.cpan.org> wrote: Show quoted text
>       Queue: AnyEvent-Twitter-Stream >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66266 > > > You have to (re)authenticate your app for OAuth2 to access Direct Messages. > > On Tue, Jul 19, 2011 at 3:35 PM, Gavin Henry via RT > <bug-AnyEvent-Twitter-Stream@rt.cpan.org> wrote:
>>       Queue: AnyEvent-Twitter-Stream >>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66266 > >> >> On Mon Feb 28 19:44:24 2011, SILASMONK wrote:
>>> I can get the example track.pl script to work (running AnyEvent::HTTP << >>> 2.0). However when I try to write  a script to monitor the userstream >>> API to pick up direct messages sent to me, I get the initial list of >>> followers but no other messages.
>> >> Do you have example code for getting DMs? >> >> Thanks. >> >>
> > > > -- > Tatsuhiko Miyagawa > >
-- Tatsuhiko Miyagawa