ok thanks, I also realized that I got the secret wrong and switched it for the token, working fine now thanks!
On Wed, Mar 2, 2011 at 4:00 AM, macno <ma...@macno.org> wrote: > On Wed, Mar 2, 2011 at 9:56 AM, Patrick Aljord <patc...@gmail.com> wrote: >> err, sorry the message was sent too fast, let me explain again: >> >> So I'm trying to get the timeline using oauth ruby gem but I keep >> getting a 404 error, here's how I do it: >> >> @consumer = OAuth::Consumer.new(key, secret, {:site=>'http://identi.ca'}) >> @accesstoken = OAuth::AccessToken.new(@consumer, >> self.identica_token, self.identica_secret). >> >> Then I try to access it that way: >> >> @accesstoken.get('http://identi.ca/api/statuses/public_timeline') >> > > That URL is wrong. You need to append the extension: (.xml .json .rss .atom) > > For example http://identi.ca/api/statuses/public_timeline.json > > m. > _______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev