[twitter-dev] Re: Using @Anywhere with Protoype.js

2011-06-04 Thread Yogesh
Hi JM,

This looks like more of a jQuery/Prototype issue than twitter.

Check jquery docs here on how to use them both on same page without
conflicts.
http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Yogesh

On May 17, 10:36 pm, jmdo jmdormo...@gmail.com wrote:
 Hi,

 we have a project using Prototype.js. We tried to use the javascript
 api @anywhere to add a 'sign with Twitter' functionnality and the
 ability for our users to post directly from our site.

 but when the API is initialized, we start to encounter several errors.
 Looking at the scripts loaded, I can see that jquery.min.js is loaded
 from ajax.googleapis.com, and that causes a conflict.

 Is there anyway to use the API with Prototype.js?

 Cheers,

 JM

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Using @Anywhere with Protoype.js

2011-06-04 Thread jmdo
Thanks Yogesh,

as I am aggregating many applications, I have finally used server-side
APIs.

I will give a try anyway, as it looks it was the reason of my
problems.

JM


On 4 juin, 09:37, Yogesh yogesh.aga...@gmail.com wrote:
 Hi JM,

 This looks like more of a jQuery/Prototypeissue than twitter.

 Check jquery docs here on how to use them both on same page without
 conflicts.http://docs.jquery.com/Using_jQuery_with_Other_Libraries

 Yogesh

 On May 17, 10:36 pm, jmdo jmdormo...@gmail.com wrote:



  Hi,

  we have a project usingPrototype.js. We tried to use the javascript
  api @anywhere to add a 'sign with Twitter' functionnality and the
  ability for our users to post directly from our site.

  but when the API is initialized, we start to encounter several errors.
  Looking at the scripts loaded, I can see that jquery.min.js is loaded
  from ajax.googleapis.com, and that causes a conflict.

  Is there anyway to use the API withPrototype.js?

  Cheers,

  JM

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Oauth in Twitter via Python

2011-06-04 Thread Correa Denzil
Tom :

Thanks. I will create multiple user accounts. I guess about 20 (350 *
20 = 7000 considering 1 request per second) should solve my issue.



--Regards,
Denzil




On Sat, Jun 4, 2011 at 3:35 AM, Tom van der Woerdt i...@tvdw.eu wrote:
 If you authenticate, all requests (except for search) will go into the 350
 requests. If you want 500, then perform 150 unauthenticated and 350
 authenticated. If you need even more, use more accounts to do the requests.

 Tom


 On 6/3/11 11:06 PM, Correa Denzil wrote:

 Ah! I feel similar.

 Which essentially means that despite acquiring data which is publicly
 available I will be limited to 150 requests per hour and even OAuth
 will not help increasing it to 350 ?


 --Regards,
 Denzil




 On Sat, Jun 4, 2011 at 2:32 AM, James Giffordja...@jamesrgifford.com
  wrote:

 The way I'm reading it it falls under 1. But I might be mistaken.

 --James Gifford
 http://jamesrgifford.com

 On Jun 3, 2011, at 17:01, Correa Denzilmcen...@gmail.com  wrote:

 Hi,

 I am collecting Twitter data for my research. The API says that :

 [1] Anonymous calls are based on the IP of the host and are permitted
 150 requests per hour. This classification includes unauthenticated
 requests (such as RSS feeds), and authenticated requests to resources
 that do not require authentication.

 [2] OAuth calls are permitted 350 requests per hour.

 I want to seek a clarification on point [1]. Lets say I want to access
 a list of followers of a user id (which is public). Would this be
 counted as rate limiting under point [1] or point [2] ?


 --Regards,
 Denzil

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Oauth in Twitter via Python

2011-06-04 Thread Tom van der Woerdt
I'd like to point out that this is against the TOS. You should limit 
your API requests where possible - for a normal application with user 
interaction you won't need more than 350 per hour. If you do some sort 
of data analysis, you may need to use streams instead.


Tom


On 6/4/11 7:53 PM, Correa Denzil wrote:

Tom :

Thanks. I will create multiple user accounts. I guess about 20 (350 *
20 = 7000 considering 1 request per second) should solve my issue.



--Regards,
Denzil




On Sat, Jun 4, 2011 at 3:35 AM, Tom van der Woerdti...@tvdw.eu  wrote:

If you authenticate, all requests (except for search) will go into the 350
requests. If you want 500, then perform 150 unauthenticated and 350
authenticated. If you need even more, use more accounts to do the requests.

Tom


On 6/3/11 11:06 PM, Correa Denzil wrote:

Ah! I feel similar.

Which essentially means that despite acquiring data which is publicly
available I will be limited to 150 requests per hour and even OAuth
will not help increasing it to 350 ?


--Regards,
Denzil




On Sat, Jun 4, 2011 at 2:32 AM, James Giffordja...@jamesrgifford.com
  wrote:

The way I'm reading it it falls under 1. But I might be mistaken.

--James Gifford
http://jamesrgifford.com

On Jun 3, 2011, at 17:01, Correa Denzilmcen...@gmail.comwrote:


Hi,

I am collecting Twitter data for my research. The API says that :

[1] Anonymous calls are based on the IP of the host and are permitted
150 requests per hour. This classification includes unauthenticated
requests (such as RSS feeds), and authenticated requests to resources
that do not require authentication.

[2] OAuth calls are permitted 350 requests per hour.

I want to seek a clarification on point [1]. Lets say I want to access
a list of followers of a user id (which is public). Would this be
counted as rate limiting under point [1] or point [2] ?


--Regards,
Denzil

--
Twitter developer documentation and resources:
https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk

--
Twitter developer documentation and resources:
https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk


--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk



--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Oauth in Twitter via Python

2011-06-04 Thread Correa Denzil
Oh! I should avoid creating multiple user accounts in that case.

I would like to perform analysis on a target set of users and not
streams. How do I proceed? I should add that 350 requests per hour is
highly insufficient for my use case.

--Regards,
Denzil




On Sat, Jun 4, 2011 at 11:33 PM, Tom van der Woerdt i...@tvdw.eu wrote:
 I'd like to point out that this is against the TOS. You should limit your
 API requests where possible - for a normal application with user interaction
 you won't need more than 350 per hour. If you do some sort of data analysis,
 you may need to use streams instead.

 Tom


 On 6/4/11 7:53 PM, Correa Denzil wrote:

 Tom :

 Thanks. I will create multiple user accounts. I guess about 20 (350 *
 20 = 7000 considering 1 request per second) should solve my issue.



 --Regards,
 Denzil




 On Sat, Jun 4, 2011 at 3:35 AM, Tom van der Woerdti...@tvdw.eu  wrote:

 If you authenticate, all requests (except for search) will go into the
 350
 requests. If you want 500, then perform 150 unauthenticated and 350
 authenticated. If you need even more, use more accounts to do the
 requests.

 Tom


 On 6/3/11 11:06 PM, Correa Denzil wrote:

 Ah! I feel similar.

 Which essentially means that despite acquiring data which is publicly
 available I will be limited to 150 requests per hour and even OAuth
 will not help increasing it to 350 ?


 --Regards,
 Denzil




 On Sat, Jun 4, 2011 at 2:32 AM, James Giffordja...@jamesrgifford.com
  wrote:

 The way I'm reading it it falls under 1. But I might be mistaken.

 --James Gifford
 http://jamesrgifford.com

 On Jun 3, 2011, at 17:01, Correa Denzilmcen...@gmail.com    wrote:

 Hi,

 I am collecting Twitter data for my research. The API says that :

 [1] Anonymous calls are based on the IP of the host and are permitted
 150 requests per hour. This classification includes unauthenticated
 requests (such as RSS feeds), and authenticated requests to resources
 that do not require authentication.

 [2] OAuth calls are permitted 350 requests per hour.

 I want to seek a clarification on point [1]. Lets say I want to access
 a list of followers of a user id (which is public). Would this be
 counted as rate limiting under point [1] or point [2] ?


 --Regards,
 Denzil

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] One access token for OAuth using Twitter API

2011-06-04 Thread Correa Denzil
Hi,

I would like to use a one access token with OAuth to make calls to the
Twitter API. I am NOT trying to build a web application but rather
trying to harvest data from Twitter to perform some analysis. I would
like to collect three types of data : followers, friends and user
information including status updates as available. I am able to do all
the same using no authentication as the data I collect are from public
users only. However, due to API limits I would like to shift to Oauth
which would allow me to get access to 350 requests per hour.

Is OAuth one access token the right approach for my task?

Is there any documentation or example to do the same? I am not using
any wrapper. Wrappers like Python-Twitter and Twython don't allow
functions to access followers, status updates of other users i.e.
users with data publicly available. I use urllib2 to directly call the
URL as given on the Twitter API documentation website.

I have registered an application and have all the keys (API key,
Consumer Key, Consumer Secret, Access Token, Access Secret Key) with
me. I would just like to get myself authenticated and mine Twitter to
collect data.

Programming Language : Python

--Regards,
Denzil

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] One access token for OAuth using Twitter API

2011-06-04 Thread Scott Wilcox
Yes, the 'My Access Token' would suit that use case.

On 4 Jun 2011, at 20:57, Correa Denzil wrote:

 Hi,
 
 I would like to use a one access token with OAuth to make calls to the
 Twitter API. I am NOT trying to build a web application but rather
 trying to harvest data from Twitter to perform some analysis. I would
 like to collect three types of data : followers, friends and user
 information including status updates as available. I am able to do all
 the same using no authentication as the data I collect are from public
 users only. However, due to API limits I would like to shift to Oauth
 which would allow me to get access to 350 requests per hour.
 
 Is OAuth one access token the right approach for my task?
 
 Is there any documentation or example to do the same? I am not using
 any wrapper. Wrappers like Python-Twitter and Twython don't allow
 functions to access followers, status updates of other users i.e.
 users with data publicly available. I use urllib2 to directly call the
 URL as given on the Twitter API documentation website.
 
 I have registered an application and have all the keys (API key,
 Consumer Key, Consumer Secret, Access Token, Access Secret Key) with
 me. I would just like to get myself authenticated and mine Twitter to
 collect data.
 
 Programming Language : Python
 
 --Regards,
 Denzil

--
Scott Wilcox

@dordotky | sc...@dor.ky | http://dor.ky
+44 (0) 7538 842418 | +1 (646) 827-0580



-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] One access token for OAuth using Twitter API

2011-06-04 Thread Correa Denzil
Scott :

Thanks, but I seem to be lost for ideas as to how to perform an OAuth
in this case. Is there any example, code, documentation I can look
into to explain the phenomena?

--Regards,
Denzil




On Sun, Jun 5, 2011 at 1:37 AM, Scott Wilcox sc...@dor.ky wrote:
 Yes, the 'My Access Token' would suit that use case.

 On 4 Jun 2011, at 20:57, Correa Denzil wrote:

 Hi,

 I would like to use a one access token with OAuth to make calls to the
 Twitter API. I am NOT trying to build a web application but rather
 trying to harvest data from Twitter to perform some analysis. I would
 like to collect three types of data : followers, friends and user
 information including status updates as available. I am able to do all
 the same using no authentication as the data I collect are from public
 users only. However, due to API limits I would like to shift to Oauth
 which would allow me to get access to 350 requests per hour.

 Is OAuth one access token the right approach for my task?

 Is there any documentation or example to do the same? I am not using
 any wrapper. Wrappers like Python-Twitter and Twython don't allow
 functions to access followers, status updates of other users i.e.
 users with data publicly available. I use urllib2 to directly call the
 URL as given on the Twitter API documentation website.

 I have registered an application and have all the keys (API key,
 Consumer Key, Consumer Secret, Access Token, Access Secret Key) with
 me. I would just like to get myself authenticated and mine Twitter to
 collect data.

 Programming Language : Python

 --Regards,
 Denzil

 --
 Scott Wilcox

 @dordotky | sc...@dor.ky | http://dor.ky
 +44 (0) 7538 842418 | +1 (646) 827-0580



 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Oauth in Twitter via Python

2011-06-04 Thread Tom van der Woerdt
If you have the permission of the users, you can probably use their 
OAuth tokens, which gives you an almost infinite API limit (actually 
it's still 350 per user, but you won't easily break that). If you want 
to perform an analysis on a group of users without their consent 
(without OAuth access), you'll have to find a better way to do it.


Tom


On 6/4/11 8:12 PM, Correa Denzil wrote:

Oh! I should avoid creating multiple user accounts in that case.

I would like to perform analysis on a target set of users and not
streams. How do I proceed? I should add that 350 requests per hour is
highly insufficient for my use case.

--Regards,
Denzil




On Sat, Jun 4, 2011 at 11:33 PM, Tom van der Woerdti...@tvdw.eu  wrote:

I'd like to point out that this is against the TOS. You should limit your
API requests where possible - for a normal application with user interaction
you won't need more than 350 per hour. If you do some sort of data analysis,
you may need to use streams instead.

Tom


On 6/4/11 7:53 PM, Correa Denzil wrote:

Tom :

Thanks. I will create multiple user accounts. I guess about 20 (350 *
20 = 7000 considering 1 request per second) should solve my issue.



--Regards,
Denzil




On Sat, Jun 4, 2011 at 3:35 AM, Tom van der Woerdti...@tvdw.euwrote:

If you authenticate, all requests (except for search) will go into the
350
requests. If you want 500, then perform 150 unauthenticated and 350
authenticated. If you need even more, use more accounts to do the
requests.

Tom


On 6/3/11 11:06 PM, Correa Denzil wrote:

Ah! I feel similar.

Which essentially means that despite acquiring data which is publicly
available I will be limited to 150 requests per hour and even OAuth
will not help increasing it to 350 ?


--Regards,
Denzil




On Sat, Jun 4, 2011 at 2:32 AM, James Giffordja...@jamesrgifford.com
  wrote:

The way I'm reading it it falls under 1. But I might be mistaken.

--James Gifford
http://jamesrgifford.com

On Jun 3, 2011, at 17:01, Correa Denzilmcen...@gmail.com  wrote:


Hi,

I am collecting Twitter data for my research. The API says that :

[1] Anonymous calls are based on the IP of the host and are permitted
150 requests per hour. This classification includes unauthenticated
requests (such as RSS feeds), and authenticated requests to resources
that do not require authentication.

[2] OAuth calls are permitted 350 requests per hour.

I want to seek a clarification on point [1]. Lets say I want to access
a list of followers of a user id (which is public). Would this be
counted as rate limiting under point [1] or point [2] ?


--Regards,
Denzil

--
Twitter developer documentation and resources:
https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk

--
Twitter developer documentation and resources:
https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk


--
Twitter developer documentation and resources:
https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk


--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk



--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Oauth in Twitter via Python

2011-06-04 Thread Correa Denzil
Tom :

I probably missed the point. I see the targeted users, their data is
public and accessible using no authentication but the API limits are
too small. I can't gain OAuth access from them. I would like to
increase this to more API calls using OAuth.

--Regards,
Denzil




On Sun, Jun 5, 2011 at 1:41 AM, Tom van der Woerdt i...@tvdw.eu wrote:
 easily

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] How to access random user's timeline?

2011-06-04 Thread RockCoder
Hi!

You recently enabled looking at other people's timeline on Twitter.com (even 
if you're not logged in).
For example http://twitter.com/#!/username1/following shows username1's 
timeline.

Can you somehow do this with API? If not, are there any plans to add this 
functionality?

Thanks for your help!

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Odg.: Re: [twitter-dev] How to access random user's timeline?

2011-06-04 Thread RockCoder
That's just what I needed.
Thanks Tom! 

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk