How to use since_id for received direct messages?

1 view
Skip to first unread message

alexnesbitt

unread,
Aug 9, 2008, 9:19:54 PM8/9/08
to twitter4r-users
I am trying to add a since_id to messages received.

I've tried this

direct_messages = twitter.messages(:received, :since_id => 34428075)
and
direct_messages = twitter.messages(:received, :options => {:since_id
=> 34428075})

but it does not seem to work.

Is this part of the twitter4r enabled? If so, how do you use it?

Thanks

alexnesbitt

unread,
Aug 9, 2008, 11:50:00 PM8/9/08
to twitter4r-users
Susan

Thanks for making the change so fast in 3.1. I saw that you had
updated GitHub and pulled the code into my app.

works great :)

Alex

S Potter

unread,
Aug 10, 2008, 3:12:32 PM8/10/08
to twitter...@googlegroups.com
Hi Alex,

In the current production version of Twitter4R (v0.3.0) this is not supported.  However, in the development version on GitHub (v0.3.1) I pushed some changes to make this work.  Give me a couple of days to polish it up and you should be able to install the development gem from the GitHub servers by Wednesday.

Let me know if you are going to the Podcast & New Media Expo in LV next week as your blog and twitter account suggests that is right up your alley.  I'll be there since one of my clients is launching a new widget I did the back-end/server-side work for during the conference.

Ciao for now and I will update this Google Group thread about when you should be able to install the RubyGem from GitHub with the since_id support.

Thanks,
Susan

S Potter

unread,
Aug 10, 2008, 3:21:02 PM8/10/08
to twitter...@googlegroups.com
Hi Alex,

I only just got your response:)  So ignore my last email.  I must have been thinking about the :since parameter support not :since_id.

Glad it is working well for you.
Thanks,
Susan

Reply all
Reply to author
Forward
0 new messages