[twitter-dev] Multiple streams with the same IP

2011-03-28 Thread Chen Jack S Y
Hi,

Anyone here has any experience with multiple streams (each stream with a
pair of dedicated oauth token/secret) with twitter's streaming API? As it is
specified in docs that Each account may create only one standing connection
to the Streaming API, I assume we could have a few connections if there are
the same number of accounts. Correct me if above it wrong.

Any experience sharing is fairly appreciated!

Cheers,
Jack

-- 
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


[twitter-dev] statuses/home_timeline and favorited/toptweets pagination issue

2011-03-28 Thread rajat
Hello,

I am trying to fetch next set of 20 tweets for statuses/home_timeline
and favorites/toptweets  using parameter page=2,
But I am getting first set of tweets as response, I tried same thing
at developer.twitter.com/console results is same.
Also when i visit twitter.com and try to get next set of TOP TWEETS
using MORE button at twitter.com it gives message saying Whoops!
something went wrong. please try again consistently...

Please suggest is this issue with Twitter or i have missed something?

Thank you,
Rajat

-- 
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


[twitter-dev] Search API not delivering popular tweets

2011-03-28 Thread Ana
Dear all

Is it correct that the Twitter Search API is not delivering popular
tweets at the moment (and within the last days)?

Thank you very much,
Ana

-- 
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


[twitter-dev] Users search

2011-03-28 Thread pedro.asti
How do I search for a user via its location and biography?
Should i just get random users and than search in their information or
is there a way in Twitter API to do it more directly?
Look, i don't wanna search via users tweets.
I wanna do searches like:
- Find all users that are 18 years old and live in Brazil.
- Find all users that are female, 18 years old and live in Brazil.

If I could get an answer for how to do at least one of than, would
really help me.
I'm creating a representative sample of twitters Brazilian community
for my studies.

Tanks in advance

-- 
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


[twitter-dev] How to trigger the rendering of tweet button?

2011-03-28 Thread powtac
I have a asynchronous page where I want to place a Twitter Tweet
Button. But because the widget.js is loaded at the beginning of the
page and the a-tag is placed some seconds later on the page it is not
rendered as a button. How can I (re)trigger the rendering of all tweet
buttons?

-- 
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


Re: [twitter-dev] Users search

2011-03-28 Thread Scott Wilcox
There are no search methods to accomplish this in the API at present.



On 28 Mar 2011, at 10:42, pedro.asti wrote:

 How do I search for a user via its location and biography?
 Should i just get random users and than search in their information or
 is there a way in Twitter API to do it more directly?
 Look, i don't wanna search via users tweets.
 I wanna do searches like:
 - Find all users that are 18 years old and live in Brazil.
 - Find all users that are female, 18 years old and live in Brazil.
 
 If I could get an answer for how to do at least one of than, would
 really help me.
 I'm creating a representative sample of twitters Brazilian community
 for my studies.
 
 Tanks in advance

-- 
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


[twitter-dev] Re: Question about storing username password like tweetdeck

2011-03-28 Thread jimmy6
I dont think so. Tweetdeck need to store our twiter's username and
password. Look like it direct access our account. Right?

On Mar 27, 11:08 pm, Scott Wilcox sc...@dor.ky wrote:
 Tweetdeck uses XAuth to obtain tokens for OAuth use.

 On 27 Mar 2011, at 15:56, Jimmy Au wrote:







  I am wondering what api is using by tweetdeck which is not using oauth
  authentication. It direct using username and password for it's app.

-- 
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


Re: [twitter-dev] Question about storing username password like tweetdeck

2011-03-28 Thread Scott Wilcox
You can think what you like, but I can guarantee you that Tweetdeck uses XAuth 
to obtain OAuth tokens to use for your account instead of pushing you through 
the OAuth/OOB dance.

On 28 Mar 2011, at 14:54, jimmy6 wrote:

 I dont think so. Tweetdeck need to store our twiter's username and
 password. Look like it direct access our account. Right?
 
 On Mar 27, 11:08 pm, Scott Wilcox sc...@dor.ky wrote:
 Tweetdeck uses XAuth to obtain tokens for OAuth use.
 
 On 27 Mar 2011, at 15:56, Jimmy Au wrote:
 
 
 
 
 
 
 
 I am wondering what api is using by tweetdeck which is not using oauth
 authentication. It direct using username and password for it's app.
 
 -- 
 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

-- 
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


Re: [twitter-dev] Search API not delivering popular tweets

2011-03-28 Thread Taylor Singletary
I'm not aware of any issues and see popular tweets returned both when
requested in mixed and popular-only modes:

GET http://search.twitter.com/search.json?q=googleresult_type=mixed
GET http://search.twitter.com/search.json?q=googleresult_type=popular

Are you including the result_type parameter?

@episod http://twitter.com/episod - Taylor Singletary


On Sun, Mar 27, 2011 at 11:54 PM, Ana anap...@gmail.com wrote:

 Dear all

 Is it correct that the Twitter Search API is not delivering popular
 tweets at the moment (and within the last days)?

 Thank you very much,
 Ana

 --
 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


-- 
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


Re: [twitter-dev] Re: Question about storing username password like tweetdeck

2011-03-28 Thread hax0rsteve


http://support.tweetdeck.com/entries/161996-important-tweetdeck-and-the-upcoming-twitter-api-authentication-change

The most recent versions of TweetDeck for the desktop, from v0.33 onwards,
already use xAuth rather than basic authentication, so will be unaffected
by this change.


http://support.tweetdeck.com/entries/229056-iphone-and-ipad-tweetdecks-updated-for-basic-auth-switch-off

... we have had to update our iPhone and iPad apps to use xAuth for Twitter
authentication.



TweetDeck think so.



On 28 Mar 2011, at 14:54, jimmy6 wrote:

 I dont think so. Tweetdeck need to store our twiter's username and
 password. Look like it direct access our account. Right?
 
 On Mar 27, 11:08 pm, Scott Wilcox sc...@dor.ky wrote:
 Tweetdeck uses XAuth to obtain tokens for OAuth use.
 
 On 27 Mar 2011, at 15:56, Jimmy Au wrote:
 
 
 
 
 
 
 
 I am wondering what api is using by tweetdeck which is not using oauth
 authentication. It direct using username and password for it's app.
 
 -- 
 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

-- 
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


[twitter-dev] Re: 401 unauthorized

2011-03-28 Thread r9handa
Are you guys still experimenting the issue? My application is still
very unstable, got the Unauthorized all the time.
Anyone knows if we have to change our application, or Twitter will fix
the problem?
Thanks.

On 24 mar, 10:44, Ninjamonk dar...@stuartmedia.co.uk wrote:
 Thanks for the link to the issue, now I can watch it. I have reverted
 to the http work around which I hate due to the lack of security.

 On Mar 24, 1:11 pm, Trevor Dean trevord...@gmail.com wrote:







  Yes I was also hoping or a more recent update, the last one was over 18
  hours ago and didn't provide much detail 
  (http://code.google.com/p/twitter-api/issues/detail?id=2118).

  On Thu, Mar 24, 2011 at 7:56 AM, Ninjamonk dar...@stuartmedia.co.uk wrote:
   any news on this? bit of a joke that it's been going on for a week now
   and we have no eta on a fix. I have 2 apps waiting to release but as
   they feature sign in with twitter I cannot do it. One is for the new
   F1 season which kicks off this weekend...

   On Mar 24, 2:46 am, Craig Walls hab...@gmail.com wrote:
No, I'm using the Java-based Spring Social for this. And I've seen other
threads describing the same problem with PHP. Definitely not just a .NET
problem.

On 3/23/11 6:35 PM, Milos Golubovic wrote:

 I can also confirm this behavior.  Is it me or is everyone in here
 using .NET? Did I possibly miss somewhere that this is a .NET forum?
 I am also using a .NET library (Twitterizer).  Wondering if anyone not
 using .NET is experiencing this issue?

 On Mar 23, 8:21 am, Craig Wallshab...@gmail.com  wrote:
 I've just confirmed what Gary M says...switching to HTTP does seem to
 make it work. But HTTPS requires a15 second delay between obtaining
 a request token and exchanging it for an access token.

 On Mar 23, 1:48 am, Gary Mgen...@gmail.com  wrote:

 Correction. Switching to HTTP does remove the issue, so I'm making
   that a
 configurable setting in our app as a temporary workaround.

   --
   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

-- 
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


Re: [twitter-dev] Re: 401 unauthorized

2011-03-28 Thread Trevor Dean
I know Twitter is still working on finding a fix but it's been a couple of
weeks now and it might be a good idea to implement the https to http hack
for now until they resolve the issue.  I was hoping there would be a fix by
now but I can't wait any longer so I will be making that change.

On Mon, Mar 28, 2011 at 11:30 AM, r9handa riha...@gmail.com wrote:

 Are you guys still experimenting the issue? My application is still
 very unstable, got the Unauthorized all the time.
 Anyone knows if we have to change our application, or Twitter will fix
 the problem?
 Thanks.

 On 24 mar, 10:44, Ninjamonk dar...@stuartmedia.co.uk wrote:
  Thanks for the link to the issue, now I can watch it. I have reverted
  to the http work around which I hate due to the lack of security.
 
  On Mar 24, 1:11 pm, Trevor Dean trevord...@gmail.com wrote:
 
 
 
 
 
 
 
   Yes I was also hoping or a more recent update, the last one was over 18
   hours ago and didn't provide much detail (
 http://code.google.com/p/twitter-api/issues/detail?id=2118).
 
   On Thu, Mar 24, 2011 at 7:56 AM, Ninjamonk dar...@stuartmedia.co.uk
 wrote:
any news on this? bit of a joke that it's been going on for a week
 now
and we have no eta on a fix. I have 2 apps waiting to release but as
they feature sign in with twitter I cannot do it. One is for the new
F1 season which kicks off this weekend...
 
On Mar 24, 2:46 am, Craig Walls hab...@gmail.com wrote:
 No, I'm using the Java-based Spring Social for this. And I've seen
 other
 threads describing the same problem with PHP. Definitely not just a
 .NET
 problem.
 
 On 3/23/11 6:35 PM, Milos Golubovic wrote:
 
  I can also confirm this behavior.  Is it me or is everyone in
 here
  using .NET? Did I possibly miss somewhere that this is a .NET
 forum?
  I am also using a .NET library (Twitterizer).  Wondering if
 anyone not
  using .NET is experiencing this issue?
 
  On Mar 23, 8:21 am, Craig Wallshab...@gmail.com  wrote:
  I've just confirmed what Gary M says...switching to HTTP does
 seem to
  make it work. But HTTPS requires a15 second delay between
 obtaining
  a request token and exchanging it for an access token.
 
  On Mar 23, 1:48 am, Gary Mgen...@gmail.com  wrote:
 
  Correction. Switching to HTTP does remove the issue, so I'm
 making
that a
  configurable setting in our app as a temporary workaround.
 
--
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

 --
 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


-- 
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


Re: [twitter-dev] Re: 401 unauthorized

2011-03-28 Thread Jeremy Dunck
On Mon, Mar 28, 2011 at 10:40 AM, Trevor Dean trevord...@gmail.com wrote:
 I know Twitter is still working on finding a fix but it's been a couple of
 weeks now and it might be a good idea to implement the https to http hack
 for now until they resolve the issue.  I was hoping there would be a fix by
 now but I can't wait any longer so I will be making that change.

Sorry, what hack is that?  I've heard a bunch of advice on working
around this, but nothing conclusive.

-- 
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


[twitter-dev] Add javascript handler to Tweet Button

2011-03-28 Thread Xxaxx
On http://dev.twitter.com/pages/tweet_button it is suggested: you
might want to include a javascript handler to open the Share Box in a
popup window instead.

I was hoping to get a link to any examples of how one does this?
Or, failing that maybe a hint about the basic process. I'm new to
javascript, but I would very much prefer to use a pop-up if possible.

Regards,
Claude

-- 
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


[twitter-dev] Error : Timestamp out of bounds

2011-03-28 Thread redflux team
Hi,

When i tried to auto tweet post, its work fine in my local system.
But i tried to upload in server  and check it, its giving following
error.

{request:\/1\/statuses\/update.json,error:Timestamp out of
bounds}

Please let me know what issue is this and how solve it.

Thanks

-- 
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


Re: [twitter-dev] Error : Timestamp out of bounds

2011-03-28 Thread Scott Wilcox
It may mean the clock on your server is inaccurate.

Check the date/time and try again.

On 28 Mar 2011, at 19:24, redflux team wrote:

 Hi,
 
 When i tried to auto tweet post, its work fine in my local system.
 But i tried to upload in server  and check it, its giving following
 error.
 
 {request:\/1\/statuses\/update.json,error:Timestamp out of
 bounds}
 
 Please let me know what issue is this and how solve it.
 
 Thanks

-- 
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


[twitter-dev] Twitter authentication in iFrame

2011-03-28 Thread Trevor Dean
I am running some tests on one of my sites and I noticed that I am getting
an error whenever I try to login using twitter.  My site runs in an iFrame
in another site and the message I get is the publisher of this content does
not allow it to be displayed in a frame.  This used to work and I haven't
changed the code.  When I run this outside of the iFrame it works as
expected.  This is the URL I amd redirecting my users to:

https://twitter.com/oauth/authorize?oauth_token=


Anybody else experiencing this?  Does twitter no longer allow this to run
inside of an iFrame?

-- 
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


[twitter-dev] Re: Problem with search/profile/faves/list widget

2011-03-28 Thread BuffLaser2000
This problem has fixed itself! Checked again today and the full
documented source file is working again. Thanks to whoever...?

On Mar 26, 1:27 pm, BuffLaser2000 tmo...@gmail.com wrote:
 I have been using a copy this JS file for my twitter list 
 widget:http://twitter.com/javascripts/widgets/widget.js    -- this is
 (supposed to be) the full documented source file

 It stopped working recently (a couple days ago I think?). It's giving
 me a 400 (bad request) trying to get the status from statuses.json.

 If I switch to the online minimized version it works 
 again:http://widgets.twimg.com/j/2/widget.js
 But the online full documented version 
 athttp://twitter.com/javascripts/widgets/widget.js
 still does not work.

 I have to used a modified copy of the full source to avoid
 document.write killing my AJAX page. (See 
 threadhttp://groups.google.com/group/twitter-development-talk/browse_thread...)

 Please help.

-- 
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


[twitter-dev] convert large number of usernames to userids

2011-03-28 Thread Riley
How would I go about converting a large number of usernames (300+) to
userids? My plan is to use user/follow, which uses userids. I have
tried using users/lookup (http://dev.twitter.com/doc/get/users/
lookup), but I need the OAuth of the users I am looking up, which I
don't have.  I could use user/show but that would take a long time, I
am hoping to find something more efficient.  Thank you.

-- 
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


Re: [twitter-dev] Multiple streams with the same IP

2011-03-28 Thread Xristofer Obbit
2 streams per IP for status streams.  User/Site Streams don't have the same
limitation.

On Mon, Mar 28, 2011 at 4:49 AM, Chen Jack S Y aquaj...@gmail.com wrote:

 Hi,

 Anyone here has any experience with multiple streams (each stream with a
 pair of dedicated oauth token/secret) with twitter's streaming API? As it is
 specified in docs that Each account may create only one standing connection
 to the Streaming API, I assume we could have a few connections if there are
 the same number of accounts. Correct me if above it wrong.

 Any experience sharing is fairly appreciated!

 Cheers,
 Jack

 --
 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


-- 
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


[twitter-dev] Enforced profile picture dimensions/sizes

2011-03-28 Thread Helliax
A while back, there was a discussion thread about how some profile
images did not adhere to the expected profile dimensions due to a one
time internal Twitter bug (normal:48x48, mini:24x24, bigger:73x73).

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/a229247f6745266e/bf18641460af18f5?lnk=gst

Since this problem still seems to exist (see: bigchris8504), is it
safe practice to never assume we'll be getting profile images in the
correct dimensions? Or is there a fix for this incoming?

-- 
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


[twitter-dev] Streams question

2011-03-28 Thread Mark Krieger
We coded our enterprise application anticipating getting whitelisted,
but alas that seems to not be in the cards. So we have started to code
against the Streams API, but I have a few questions, I hope this is
the right place:

a. I applied for Site Streams Beta Whitelisting more than a week ago,
the application said it is looked at more or less once a week. Is this
accurate? When might I hear? (Company is MediaRoost)

b. We are using code to test in the meantime with User Streams, just
to get an idea of what to do. I can see how after initial REST calls
to prime the pump that Messages, Mentions, Timeline additions,
Follows, Favorites, User Profile changes, etc will be streamed, and I
can see how to deal with this. It is doable. However I do not
understand how to keep track of some info in the Streams API, and
wonder if these just will require the REST API 'forever':  a:Consider
a User who is not me (the authenticated user). I want to see their
profile info. I do not see how the Site/User Stream will send that to
me. b: Consider a User who is not being followed. I want to get their
tweets (etc) via the streaming API.  (I know how to get the tweets
they sent via the REST api.) BUT: Since they are not being followed I
will not have seen their tweets on the streaming API. Do I have to
always use the REST API for this?

If this is not the right place to ask these questions, please point me
where to ask.

thanks,

Mark

-- 
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


Re: [twitter-dev] convert large number of usernames to userids

2011-03-28 Thread Jim Barcelona
The solution for this would involve coding if it were me.

Store the usernames in an array.
Loop through the array while calling:
http://api.twitter.com/1/users/show.json?screen_name=screen_name
Parse out the id.

Cheers, Barce

On Mon, Mar 28, 2011 at 1:14 PM, Riley digitalsimplif...@gmail.com wrote:

 How would I go about converting a large number of usernames (300+) to
 userids? My plan is to use user/follow, which uses userids. I have
 tried using users/lookup (http://dev.twitter.com/doc/get/users/
 lookup), but I need the OAuth of the users I am looking up, which I
 don't have.  I could use user/show but that would take a long time, I
 am hoping to find something more efficient.  Thank you.

 --
 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




-- 
Jim Barce Barcelona

ba...@appdevandmarketing.com

http://appdevandmarketing.com/

http://twitter.com/barce

-- 
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


[twitter-dev] getting historical data for more than 150 / 300 users

2011-03-28 Thread fifi
How can an app get the historical twitter stream for more than 150 /
300 users in an hour?  Those users are all signing up to our service
and giving us their Oauth tokens.  If more than 150 / 300 sign up in
an hour, we can't get their historical data using the REST API because
of Twitter's limits.  Twitter's streaming API will let us get tweets
for that user going forward in time, but won't allow us to see the
tweets that are already in their stream.
  Is there any solution for this use case?  We want to offer a service
that parses user's twitter streams for statistical data, but if we
can't go back and get their historical record, they'll have nothing
when they first log in to the site.

-- 
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


[twitter-dev] whats the word on t.co? Is there something apps should do?

2011-03-28 Thread Doug
I cannot find any documentation on how to prepare for it.  I use fully
qualified URLs in the tweets over the REST API.  Will these
automatically be converted?  And if so, what is the size we should
assume for their length?

I would hate to have to integrate another service for shortening if
this one is on the horizon.

Thanks!

-- 
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


RE: [twitter-dev] getting historical data for more than 150 / 300 users

2011-03-28 Thread Tatham Oddie
If you use their OAuth token for each request, then aren't you counting against 
their usage limit?

You could have 5000 users sign up in an hour. You perform 5000 API calls using 
5000 different OAuth tokens. Each API call is one count against each token. 
Each user now has one less API call left that hour.

That's how I understand it ...


--
Tatham Oddie
If you're printing this email, you're doing it wrong. This is a computer, not a 
typewriter.


-Original Message-
From: twitter-development-talk@googlegroups.com 
[mailto:twitter-development-talk@googlegroups.com] On Behalf Of fifi
Sent: Tuesday, 29 March 2011 9:42 AM
To: Twitter Development Talk
Subject: [twitter-dev] getting historical data for more than 150 / 300 users

How can an app get the historical twitter stream for more than 150 /
300 users in an hour?  Those users are all signing up to our service and giving 
us their Oauth tokens.  If more than 150 / 300 sign up in an hour, we can't get 
their historical data using the REST API because of Twitter's limits.  
Twitter's streaming API will let us get tweets for that user going forward in 
time, but won't allow us to see the tweets that are already in their stream.
  Is there any solution for this use case?  We want to offer a service that 
parses user's twitter streams for statistical data, but if we can't go back and 
get their historical record, they'll have nothing when they first log in to the 
site.

--
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

-- 
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


Re: [twitter-dev] getting historical data for more than 150 / 300 users

2011-03-28 Thread Arnaud Meunier
As Tatham said, each access token gives you up to 350 GET Request per hours.
Make some requests (signing them with different access tokens) and look at
the X-RateLimit-Remaining header.

Arnaud / @rno



On Mon, Mar 28, 2011 at 6:29 PM, Tatham Oddie tat...@oddie.com.au wrote:

 If you use their OAuth token for each request, then aren't you counting
 against their usage limit?

 You could have 5000 users sign up in an hour. You perform 5000 API calls
 using 5000 different OAuth tokens. Each API call is one count against each
 token. Each user now has one less API call left that hour.

 That's how I understand it ...


 --
 Tatham Oddie
 If you're printing this email, you're doing it wrong. This is a computer,
 not a typewriter.


 -Original Message-
 From: twitter-development-talk@googlegroups.com [mailto:
 twitter-development-talk@googlegroups.com] On Behalf Of fifi
 Sent: Tuesday, 29 March 2011 9:42 AM
 To: Twitter Development Talk
 Subject: [twitter-dev] getting historical data for more than 150 / 300
 users

 How can an app get the historical twitter stream for more than 150 /
 300 users in an hour?  Those users are all signing up to our service and
 giving us their Oauth tokens.  If more than 150 / 300 sign up in an hour, we
 can't get their historical data using the REST API because of Twitter's
 limits.  Twitter's streaming API will let us get tweets for that user going
 forward in time, but won't allow us to see the tweets that are already in
 their stream.
  Is there any solution for this use case?  We want to offer a service that
 parses user's twitter streams for statistical data, but if we can't go back
 and get their historical record, they'll have nothing when they first log in
 to the site.

 --
 Twitter developer documentation and resources: http://dev.twitter.com/docAPI 
 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

 --
 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


-- 
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


Re: [twitter-dev] convert large number of usernames to userids

2011-03-28 Thread Arnaud Meunier
Hey Riley,

You should use users/lookup, with the screen_name parameter (up to 100
are allowed in a single request). Not sure to get what you mean by the
OAuth of the users I am looking up? The only thing you need is to sign your
request.

Arnaud / @rno



On Mon, Mar 28, 2011 at 1:14 PM, Riley digitalsimplif...@gmail.com wrote:

 How would I go about converting a large number of usernames (300+) to
 userids? My plan is to use user/follow, which uses userids. I have
 tried using users/lookup (http://dev.twitter.com/doc/get/users/
 lookup), but I need the OAuth of the users I am looking up, which I
 don't have.  I could use user/show but that would take a long time, I
 am hoping to find something more efficient.  Thank you.

 --
 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


-- 
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