[twitter-dev] friendship/create, and OAuth?

2009-10-04 Thread Fahim
When I issue a friendship/create request using OAuth authentication, I seem to get a 404 error. The same request sent using basic authentication appears to work correctly. Is this a known issue or something new that has not been encountered by anybody else before? I've tested other OAuth

[twitter-dev] friends and followers methods in docs

2009-10-04 Thread Jesse Stay
I noticed that the friends and followers methods aren't on the docs any more here: http://apiwiki.twitter.com/Twitter-API-Documentation Did I miss the memo that these were being deprecated? Why aren't they in the docs? Thanks, Jesse

[twitter-dev] Re: friends and followers methods in docs

2009-10-04 Thread Rich
statuses/friends and statuses/followers are there for me On Oct 4, 9:10 am, Jesse Stay jesses...@gmail.com wrote: I noticed that the friends and followers methods aren't on the docs any more here:http://apiwiki.twitter.com/Twitter-API-Documentation Did I miss the memo that these were being

[twitter-dev] Re: Twitter Geo stuff

2009-10-04 Thread Rich
The Geo tag is only populated firstly if the user posting the tweet has opted in via Twitter's website (which hasn't been enabled yet) and secondly Geo data was submitted with that tweet On Oct 4, 4:41 am, Patrick kenned...@gmail.com wrote: I have been reading about the Twitter Geo stuff - it

[twitter-dev] Return number of pages (or number of friends/followers) on first call with cursor

2009-10-04 Thread Jesse Stay
I was wondering if it might be possible to include, at least in the first page, but if it's easier it could be on all pages, either a total expected number of followers/friends, or a total expected number of returned pages when the cursor parameter is provided for friends/ids and followers/ids?

[twitter-dev] Search returns non-existing tweets

2009-10-04 Thread fiskeben
Hi, When searching using geocod, max_id, pagination and since (I included them all since I don't know which is/may be causing the problem) I get duplicate results and/or deleted tweets. For example: This search returns several duplicates of the same tweet but with different IDs:

[twitter-dev] Re: friends and followers methods in docs

2009-10-04 Thread Jesse Stay
Ah - okay. I was looking in the wrong spot. Haven't looked those up in awhile. Jesse On Sun, Oct 4, 2009 at 2:12 AM, Rich rhyl...@gmail.com wrote: statuses/friends and statuses/followers are there for me On Oct 4, 9:10 am, Jesse Stay jesses...@gmail.com wrote: I noticed that the friends

[twitter-dev] Re: Updates to the retweet API payload

2009-10-04 Thread Zaudio
Hey John, Thanks for that... can you put an earliest date on 'very soon' please - just so I know how long we've got? Thanks Simon (Zaudio) On Oct 3, 8:15 pm, John Kalucki jkalu...@gmail.com wrote: There are plans to filter retweets from various resource, see the documentation. However, it

[twitter-dev] Re: Return number of pages (or number of friends/followers) on first call with cursor

2009-10-04 Thread John Kalucki
Curious -- why isn't the end of list indicator a reliable enough indication? Iterate until seems simple and reliable. Can you request the denormalized count via the API before you begin? (Not familiar enough with the API, but the back-end store offers this for all sorts of purposes.) You'd have

[twitter-dev] Re: How to check if user is followed?

2009-10-04 Thread twittme_mobi
Hi Tomas, thanks for the reply! the social graph methods are too heavy for such a simple operation. I have to check if user is followed every time that a profile is visited so i would now where to put Follow or Unfollow button.It is not reasonable to execute the social graph methods every time,

[twitter-dev] Re: How to check if user is followed?

2009-10-04 Thread Thomas Hübner
the problem is that a friendship exist is an expensive API Call (of 150 possible per hr) I do not know what kind of Application you plan but for my client App I load the ID's of followers with one API call and keep this list in memory. If a status become loaded I compare the icluded UserID with

[twitter-dev] Re: Return number of pages (or number of friends/followers) on first call with cursor

2009-10-04 Thread Jesse Stay
John, because no offense, but frankly I don't trust the Twitter API. I've been burned too many times by things that were supposed to work, code pushed into production that wasn't tested properly, etc. that I know better to do all I can to account for Twitter's mistakes. There's no telling if at

[twitter-dev] Re: Return number of pages (or number of friends/followers) on first call with cursor

2009-10-04 Thread Thomas Hübner
the Number of ID's is the number of followers you also can call http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show first. Within the result you have followers_count1031/followers_count friends_count293/friends_count however - you have to do an additional API call if you don't

[twitter-dev] friends/ids returns 400 Bad request

2009-10-04 Thread Abava
requests for friends/ids return 400 Bad request via API (through Yahoo Pipe). The same request for .xml data right from browser returns correct data. E.g.: http://www.twitter.com/friends/ids/abava.xml - always work from browser and the same request does not work via API (through Yahoo pipe)

[twitter-dev] friends/ids and cursor

2009-10-04 Thread Abava
requests for friends/ids with cursor=-1 parameter via API (through Yahoo Pipe) returns empty set The same request for .xml data right from browser returns correct data.

[twitter-dev] Re: Lookup lots of user_ids from screenames?

2009-10-04 Thread Andrew McCloud
I don't thin you understood my question. I have a list of usernames that i need to convert to ids. These usernames are not friends of my account. On Oct 3, 11:18 pm, Thomas Hübner thueb...@gmx.de wrote: you can usehttp://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0f...

[twitter-dev] Re: Lookup lots of user_ids from screenames?

2009-10-04 Thread Josh Roesslein
Andrew, I'd email a...@twitter.com about getting whitelisted. If they deny it then maybe just do a little bit at a time until you have processed all your username - ids. Josh On Sun, Oct 4, 2009 at 3:40 PM, Andrew McCloud and...@amccloud.com wrote: I don't thin you understood my question. I

[twitter-dev] Re: Return number of pages (or number of friends/followers) on first call with cursor

2009-10-04 Thread Jesse Stay
Thomas, again, that number may be different from one minute to another, and I've also found it gets cached differently. I want to know the number of friends/followers at the time the snapshot was taken for the set I'm paging through. I want to know the number Twitter expects to be in that

[twitter-dev] Twitter, Please Explain How Cursors Work

2009-10-04 Thread Dewald Pretorius
For discussion purposes, let's assume I am cursoring through a very volatile followers list of @veryvolatile. We have the following cursors: A = 5,000 B = 5,000 C = 5,000 I retrieve Cursor A and process it. Next I retrieve Cursor B and process it. Then I retrieve Cursor C and process it. While

[twitter-dev] Re: Lookup lots of user_ids from screenames?

2009-10-04 Thread Yogesh Mali
AndrewI don't think you can do that. If that would have been the case, they would have never put any restrictions. Yogesh On Sun, Oct 4, 2009 at 3:43 PM, Josh Roesslein jroessl...@gmail.com wrote: Andrew, I'd email a...@twitter.com about getting whitelisted. If they deny it then maybe just

[twitter-dev] Chage from on tweets

2009-10-04 Thread Vincent Nguyen
We knew is to change from on tweets, we must use Oauth! But i see desktop client such as tweetdeck, twitterfox,... don't use Oauth and they still have from twitterfox,.. how does that happens?

[twitter-dev] Re: Chage from on tweets

2009-10-04 Thread ryan alford
Twitter removed that functionality just recently. Any application that used if before it was removed is still allowed to use it. On Oct 5, 2009, at 12:07 AM, Vincent Nguyen kureik...@gmail.com wrote: We knew is to change from on tweets, we must use Oauth! But i see desktop client such as

[twitter-dev] Re: Twitter, Please Explain How Cursors Work

2009-10-04 Thread John Kalucki
I haven't looked at all the parts of the system, so there's some chance that I'm missing something. The method returns the followers in the reverse chronological order of edge creation. Cursor A will have the most recent 5,000 edges, by creation time, B the next most recent 5,000, etc. The last

[twitter-dev] Re: Return number of pages (or number of friends/followers) on first call with cursor

2009-10-04 Thread John Kalucki
If an API is untrusted, it must be treated as entirely untrusted. You should be adding defensive heuristics between the untrusted API results and your application. If a given fetch seems bad, then queue the results and don't act on them until otherwise corroborated, perhaps by some quorum of