ERROR The requested URL could not be retrieved

47 views
Skip to first unread message

Rodrigo Berlinck

unread,
Sep 3, 2010, 10:14:50 AM9/3/10
to Twitter Development Talk
While looping follow / unfollow, returning this error:

ERROR
The requested URL could not be retrieved

whats that?

thanks

Matt Harris

unread,
Sep 3, 2010, 1:15:28 PM9/3/10
to twitter-deve...@googlegroups.com
Hi Rodrigo,

When you say you are looping follow and unfollow can you give an
example of your code and the URL you are using. The pagination is not
linear for many of our methods and requires you to use the value of
the next cursor we return instead of a numerical sequence 1,2,3.

The error you are getting implies you are requesting a resource that
doesn't exist.
Best,
Matt

> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
>

--


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

Rodrigo Berlinck

unread,
Sep 3, 2010, 1:47:18 PM9/3/10
to Twitter Development Talk
Hi Matt,
I use Code Igniter (PHP Framework).

Looping:
Select the followers of the user and return array
follow matrix
matrix unfollow
insert into db (mysql)

but he makes filters, and has a limit own, for example it takes only
200 followers and then make 200 unfollowers.

Matt Harris

unread,
Sep 3, 2010, 5:24:38 PM9/3/10
to twitter-deve...@googlegroups.com
I'm still not sure what you are doing or the URLs you are calling to
the API. We also don't provide information about unfollows so i'm
confused about that aspect of your code.

Rodrigo Berlinck

unread,
Sep 3, 2010, 7:53:30 PM9/3/10
to Twitter Development Talk
I will explain again.
I Seto no one user of Twitter, get all that follow this user and this
result returns an array, then I do a foreach to do follow and then do
the unfollow.

I use this library CodeIgniter:
http://www.haughin.com/code/twitter/.

He does everything in curl.

If you need I'll post the code here

thanks

Rodrigo Berlinck

unread,
Sep 5, 2010, 6:53:54 AM9/5/10
to Twitter Development Talk
Post the code?

Rodrigo Berlinck

unread,
Sep 7, 2010, 8:30:00 PM9/7/10
to Twitter Development Talk
i need your help.

Matt Harris

unread,
Sep 7, 2010, 8:32:09 PM9/7/10
to twitter-deve...@googlegroups.com
Hey Rodrigo,

So I can help you please provide the code you are using.
Matt

Reply all
Reply to author
Forward
0 new messages