Re: [twitter-dev] Streaming API access level limit

2011-02-28 Thread Chen Jack S Y
Thanks, figured it out. Another question, how many connections are allowed
with a shared IP? Any suggestions on multiple streams in one machine with
one IP?

J

On Mon, Feb 28, 2011 at 1:50 PM, John Kalucki j...@twitter.com wrote:

 Are you specifying the IDs in the URL or in a POST parameter? There's a
 limit to the URL length that we'll parse, but we'll take huge POST
 parameters.

 -John Kalucki
 http://twitter.com/jkalucki
 Twitter, Inc.


 On Tue, Feb 22, 2011 at 11:22 PM, aquajach aquaj...@gmail.com wrote:

 Hi,

 Just started to play with streaming API, but get confused on how many
 followers id could be tracked with one connection. In basic level of
 filter,
 http://dev.twitter.com/doc/post/statuses/filter says 400 followers ids
 http://dev.twitter.com/pages/streaming_api_methods says 5,000
 followers ids

 Then I tried in local machine, could only follow around 320 ids
 ( receive 413 if more)  and seems multiple connections in one IP are
 not allowed. Any body here know: Is there any ways to follow a few
 thousands ids for each authenticated account (with oauth)? Or how to
 apply for higher access level?

 Any experience share or answers are appreciated!

 J

 --

 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] Twitter API Timeouts

2011-02-28 Thread Colin Howe
Hi,

We've started seeing the API drop a lot of our requests. No error, no
response at all. Is this a known issue or is it a change I should have
been aware of?


Cheers,
Colin

-- 
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: Twitter API Timeouts

2011-02-28 Thread Naveen
We have been seeing this behavior as well since early yesterday.

We have a lot of connections (a noticeable percentage) simply
timeout.
We have tested various timeouts and work arounds and it appears as
though the connections will happily be kept open indefinitely with no
response if there is no timeout set..

I am also curious if there was a change made that would be attributed
to this change in behavior.

--Naveen

On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote:
 Hi,

 We've started seeing the API drop a lot of our requests. No error, no
 response at all. Is this a known issue or is it a change I should have
 been aware of?

 Cheers,
 Colin

-- 
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: Twitter API Timeouts

2011-02-28 Thread Leon Meijer
Hi,  
   
I have noticed the same behaviour today, connections time out after 30 seconds, 
even the verify_credentials api call fails... the api status page shows 
everything is fine though.  
   
Regards,  
   
Leon Meijer
  _  

  From: Naveen [mailto:knig...@gmail.com]
To: Twitter Development Talk [mailto:twitter-development-talk@googlegroups.com]
Sent: Mon, 28 Feb 2011 11:36:57 +0100
Subject: [twitter-dev] Re: Twitter API Timeouts

We have been seeing this behavior as well since early yesterday.

We have a lot of connections (a noticeable percentage) simply
timeout.
We have tested various timeouts and work arounds and it appears as
though the connections will happily be kept open indefinitely with no
response if there is no timeout set..

I am also curious if there was a change made that would be attributed
to this change in behavior.

--Naveen

On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote:
 Hi,

 We've started seeing the API drop a lot of our requests. No error, no
 response at all. Is this a known issue or is it a change I should have
 been aware of?

 Cheers,
 Colin

-- 
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: Twitter API Timeouts

2011-02-28 Thread Umashankar Das
Hi,
   Even echofon clients are timing out. It coul be a general failure of
service. Let us see if Twitter wants to clarify

Regards
Umashankar Das

On Mon, Feb 28, 2011 at 5:13 PM, Leon Meijer l...@lmeijer.nl wrote:

  Hi,

 I have noticed the same behaviour today, connections time out after 30
 seconds, even the verify_credentials api call fails... the api status page
 shows everything is fine though.

 Regards,

 Leon Meijer

  --
 *From:* Naveen [mailto:knig...@gmail.com]
 *To:* Twitter Development Talk [mailto:
 twitter-development-talk@googlegroups.com]
 *Sent:* Mon, 28 Feb 2011 11:36:57 +0100
 *Subject:* [twitter-dev] Re: Twitter API Timeouts


 We have been seeing this behavior as well since early yesterday.

 We have a lot of connections (a noticeable percentage) simply
 timeout.
 We have tested various timeouts and work arounds and it appears as
 though the connections will happily be kept open indefinitely with no
 response if there is no timeout set..

 I am also curious if there was a change made that would be attributed
 to this change in behavior.

 --Naveen

 On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote:
  Hi,
 
  We've started seeing the API drop a lot of our requests. No error, no
  response at all. Is this a known issue or is it a change I should have
  been aware of?
 
  Cheers,
  Colin

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


[twitter-dev] Rate limit

2011-02-28 Thread manaf pm
I have a website which grabs tweets from twitter.com within 20 minutes
interval per day. I h ave stored thousands of hashtags in my database
and search is occurring against these hash tags and user names. Right
now there I need around 65000 search requests to be happened per day.
Here comes the rate limit problem. As a result I am not getting
desired search results for a long time. How can I over come this? Any
replies are welcome and will be helpful to me.

-- 
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] Can Twitter authentication values be returned in SEO friendly patterns

2011-02-28 Thread Bluesapphire
Hi!
  Currently Ima receiving values in following format:
http://localhost.com/demo/user/login/?
oauth_token=abcdefghijklmno12n3n4n5n6oauth_verifier=j2j3j4j5j6j7j89j1j2j3j4j5j6j7j8

Can it be possible that I receive these values in following format:

http://localhost.com/demo/user/login/oauth_token/aaa/
oauth_verifier/




Thanks in advacne

-- 
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] direct_messages/new giving error 'Incorrect signature'

2011-02-28 Thread BITS
Hello,

I want to sent private message to followers. I am using
direct_messages/new for this.

It is giving error response as

Array
(
[request] = /direct_messages/new.json
[error] = Incorrect signature
)

Any solution?

-- 
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] push notification for iPhone app.

2011-02-28 Thread Kelly Park
Hello. 

In 'Twittet for iPhone' and 'twtkr for iPhone', we can get a push notification 
by realtime when there is new DM or mention. (most of time)

I also developed and released twitter app for iPhone - all4twit 

I would like to provide this function to my customers but I wasn't able to find 
an API.  That's why my customer could receive a push notification only from the 
customer who is using same all4twit. 

Is it possible to recognize if there is new DM or mention for eah of all my 
ustomers? which API I could use? 

Please inform me.  

Thanks. 

Kelly Park. 

-- 
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] Can Twitter authentication values be returned in SEO friendly patterns

2011-02-28 Thread Scott Wilcox
No.

On 28 Feb 2011, at 07:32, Bluesapphire wrote:

 Hi!
  Currently Ima receiving values in following format:
 http://localhost.com/demo/user/login/?
 oauth_token=abcdefghijklmno12n3n4n5n6oauth_verifier=j2j3j4j5j6j7j89j1j2j3j4j5j6j7j8
 
 Can it be possible that I receive these values in following format:
 
 http://localhost.com/demo/user/login/oauth_token/aaa/
 oauth_verifier/

-- 
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] Rate limit

2011-02-28 Thread Adam Green
If you are logging every tag ever found in your search results, and
then trying to search for them continuously, you need to change your
model. Twitter will no longer allow that type of access. They have
made this clear through words and actions. You should focus on
tracking the tags that are used most often. It is a power curve. In
every set of words I have studied, 100-200 tags get 80% of the
traffic. Streaming allows you to track 400 words. Limit yourself to
400 of the most used tags. Any other expectation is unreasonable.

On Mon, Feb 28, 2011 at 12:43 AM, manaf pm manaf...@gmail.com wrote:
 I have a website which grabs tweets from twitter.com within 20 minutes
 interval per day. I h ave stored thousands of hashtags in my database
 and search is occurring against these hash tags and user names. Right
 now there I need around 65000 search requests to be happened per day.
 Here comes the rate limit problem. As a result I am not getting
 desired search results for a long time. How can I over come this? Any
 replies are welcome and will be helpful to me.

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




-- 
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

-- 
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: Twitter API Timeouts

2011-02-28 Thread Taylor Singletary
Hi all,

Thanks for the reports -- we're looking into the timeout issue.

Taylor

On Mon, Feb 28, 2011 at 4:43 AM, Umashankar Das umashankar...@gmail.comwrote:

 Hi,
Even echofon clients are timing out. It coul be a general failure of
 service. Let us see if Twitter wants to clarify

 Regards
 Umashankar Das


 On Mon, Feb 28, 2011 at 5:13 PM, Leon Meijer l...@lmeijer.nl wrote:

  Hi,

 I have noticed the same behaviour today, connections time out after 30
 seconds, even the verify_credentials api call fails... the api status page
 shows everything is fine though.

 Regards,

 Leon Meijer

  --
 *From:* Naveen [mailto:knig...@gmail.com]
 *To:* Twitter Development Talk [mailto:
 twitter-development-talk@googlegroups.com]
 *Sent:* Mon, 28 Feb 2011 11:36:57 +0100
 *Subject:* [twitter-dev] Re: Twitter API Timeouts


 We have been seeing this behavior as well since early yesterday.

 We have a lot of connections (a noticeable percentage) simply
 timeout.
 We have tested various timeouts and work arounds and it appears as
 though the connections will happily be kept open indefinitely with no
 response if there is no timeout set..

 I am also curious if there was a change made that would be attributed
 to this change in behavior.

 --Naveen

 On Feb 28, 2:14 am, Colin Howe colintheh...@googlemail.com wrote:
  Hi,
 
  We've started seeing the API drop a lot of our requests. No error, no
  response at all. Is this a known issue or is it a change I should have
  been aware of?
 
  Cheers,
  Colin

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


-- 
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] POSTs to :user/:list_id/create_all returning HTTP status 404 for all requests

2011-02-28 Thread sferik
This was reported as an 
issuehttps://github.com/jnunemaker/twitter/issues/145in the twitter gem. Upon 
investigation, it appears to be a bug in the 
Twitter API.

-- 
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] POSTs to :user/:list_id/create_all returning HTTP status 404 for all requests

2011-02-28 Thread Taylor Singletary
It's a documentation error at the moment, the proper path is: POST
:user/:list_id/members/create_all

@episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
Advocate


On Mon, Feb 28, 2011 at 7:42 AM, sferik sfe...@gmail.com wrote:

 This was reported as an 
 issuehttps://github.com/jnunemaker/twitter/issues/145in the twitter gem. 
 Upon investigation, it appears to be a bug in the
 Twitter API.

 --
 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] POSTs to :user/:list_id/create_all returning HTTP status 404 for all requests

2011-02-28 Thread sferik
On Monday, February 28, 2011 8:05:09 AM UTC-8, Taylor Singletary wrote:
 It's a documentation error at the moment, the proper path is: POST 
 :user/:list_id/members/create_all

When was the old resource deprecated? Were there any other resources that 
changed at the same time? I try to pay close attention to the Twitter API 
Announcements list, but don't recall seeing anything about this. Could you 
direct me to the relevant post?

I'm disappointed that the documentation is not keeping up with the API. If 
anything, the documentation should be coming ahead of changes, not trailing 
them.

-- 
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] Trying to use Abraham's twitteroauth library to make search query, returns list of numbers in scientific notation?

2011-02-28 Thread Chris Sobolewski
I am attempting to use the twitteroauth library to make a query, and I
am getting some odd responses back.

My code:
$twitteroauth = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
$q=urlencode(#twitter);
$query = $twitteroauth-get(search.json?q={$q}rpp=100);
echo pre;
$qq = $query;
print_r($qq);
echo /pre;

First odd result is, when I try doing a JSON decode, I get an error
that it is not JSON which is what I expected to get back.

Second odd result is when I print_r, this is what I recieve back:

stdClass Object
(
[created_in] = 0.11146
[statuses] = Array
(
[0] = 4.2285483207823E+16
[1] = 4.2285478212403E+16
[2] = 4.2285477021237E+16
[3] = 4.228546655225E+16
[4] = 4.2285444607648E+16
[5] = 4.2285433509528E+16
[6] = 4.2285433383559E+16
 so on all the way down to 100
)
)

-- 
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 in iPhone Native APP

2011-02-28 Thread jenius27
Hi,

Iwas wondering whether its possible to have a Tweet button in my app
on the iPhone. My app is a native app and not web based.

If so can anyone please point me to any resources for this?

If not can someone please let me know if there is a workaround for
this?

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] Trying to use Abraham's twitteroauth library to make search query, returns list of numbers in scientific notation?

2011-02-28 Thread Abraham Williams
The Search API does not support authentication and so TwitterOAuth does not
currently support it. TwitterOAuth uses https://api.twitter.com/1/ as the
API URL when the Search API uses http://search.twitter.com as documented
http://dev.twitter.com/doc/get/search.

To use the Search API I recommend performing a simple cURL request instead.

Also in general TwitterOAuth requests should formated like

   $query = $twitteroauth-get(search, array(q = $q, rpp =100);

instead of

   $query = $twitteroauth-get(search.json?q={$q}rpp=100);

Finally the integers returned are larger then 32bit PHP supports. In
officially supported Twitter API methods most id elements have a matching
id_str element that is a string.

Abraham
-
Abraham Williams | Hacker Advocate | abrah.am
http://abrah.amJust launched from Answerly http://answerly.com:
InboxQhttp://inboxq.comfor Chrome
@abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Mon, Feb 28, 2011 at 10:15, Chris Sobolewski
sobolewski.ch...@gmail.comwrote:

 I am attempting to use the twitteroauth library to make a query, and I
 am getting some odd responses back.

 My code:
$twitteroauth = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
$q=urlencode(#twitter);
$query = $twitteroauth-get(search.json?q={$q}rpp=100);
echo pre;
$qq = $query;
print_r($qq);
echo /pre;

 First odd result is, when I try doing a JSON decode, I get an error
 that it is not JSON which is what I expected to get back.

 Second odd result is when I print_r, this is what I recieve back:

 stdClass Object
 (
[created_in] = 0.11146
[statuses] = Array
(
[0] = 4.2285483207823E+16
[1] = 4.2285478212403E+16
[2] = 4.2285477021237E+16
[3] = 4.228546655225E+16
[4] = 4.2285444607648E+16
[5] = 4.2285433509528E+16
[6] = 4.2285433383559E+16
 so on all the way down to 100
)
 )

 --
 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: Twitter API Timeouts

2011-02-28 Thread Marc Mims
* Taylor Singletary taylorsinglet...@twitter.com [110228 06:57]:
 Thanks for the reports -- we're looking into the timeout issue.

I've been seeing this, too. To combat it, I've set my request timeout to 
8 seconds and I use with Net::Twitter's RetryOnError trait (perl).

Last year, at Chrip, one of the speakers said Twitter's internal 
strategy is to timeout quickly and re-queue.  From my tests, it appears 
requests normally fail in 4-5 seconds with a 502 if they can't be 
fulfilled in that amount of time by the backend.

Taylor, can you confirm that? What is Twitter's internal cutoff? That 
would help me set an optimum request timeout on my end.

FWIW, the Net::Twitter RetryOnError strategy is to retry any request 
that fails with an HTTP status code = 500.  It delays 250ms before the 
first retry and doubles the retry delay until it gets to 4 seconds.  If 
it still can't get a successful return, it throws an error at that 
point.

-Marc

-- 
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 uses different pool of user ids?

2011-02-28 Thread ce
When I use the search API I get a result like this:

http://search.twitter.com/search.json?q=twitter

{
from_user_id_str: 142342329,
profile_image_url: http://a1.twimg.com/profile_images/
1257749535/leo_map2_normal.jpg,
created_at: Mon, 28 Feb 2011 19:20:31 +,
from_user: lmoliva_,
id_str: 42303151705047041,
metadata: {
result_type: recent
},
to_user_id: null,
text: RT @alexismadrigal: Exclusive! The Man Behind the
Best Twitter Feed Ever, @MayorEmanuel: http://theatln.tc/gxQXwh;,
id: 42303151705047041,
 [..]

However, when I go to look up this user via the user/show api with
that same id I get:

http://api.twitter.com/1/users/show.json?user_id=142342329

{
is_translator: false,
favourites_count: 0,
profile_background_color: C0DEED,
url: http:\/\/percepcionderealidad.blogspot.com\/,
follow_request_sent: false,
profile_background_image_url: http:\/\/a3.twimg.com\/a\/
1298664727\/images\/themes\/theme1\/bg.png,
description: ,
screen_name: carlitosvilchis,
   [.]

A totally different user!  There appears to be no way to get the
proper numerical id from the search API.  Am I doing something wrong
or is this a known issue and I should just rewrite to use their screen
name to look up users instead?

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

2011-02-28 Thread Matt Harris
Hi Harry,

Which library are you using and how is it passing the parameters to the
streaming API? Also, are you using any other filter parameters when
connecting to the Streaming API?

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Fri, Feb 25, 2011 at 9:59 PM, 1537 News 1537n...@gmail.com wrote:

 I am using the following


 $stream-setLocations(array(array(-87.60603635063173,41.78233280134992,-87.5898572658539,41.813078558257345)

 Most of my responses are outside this range from
 (40.56190 - 42.46604)  (-87.35747  -88.65564)

 I have 13,658 records
 Approx 800 are within this range.

 Is there anything I can do to increase the accuracy of the setLocation
 call?

 Thanks
 Harry Osoff


 http://1537news.com/
 Follow Us on Twitter http://twitter.com/1537news/
 Facebook Fan 
 Pagehttp://www.facebook.com/profile.php?id=10680443959#%21/pages/1537News/143582755669105?v=wall

 --
 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] support for location filter of streaming api in India

2011-02-28 Thread Matt Harris
Hi Paresh,

The Streaming API supports any latitude and longitude bounding boxes but
relies on Tweets being geocoded. If the quantity of Tweets being returned is
low it could that Twitter users in India do not geocode their Tweets, or the
devices they use do not support geocoding

Hope that answers your question,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Sat, Feb 26, 2011 at 4:22 AM, Paresh Nakhe paresh.na...@gmail.comwrote:

 Hi,
 I have just started using location filter in statuses/filter method.
 Initially i tried with the coordinates given in documentation (which were
 for New York) and it worked fine. I then worked out the coordinates for some
 area in India but i am not getting any tweets at all. I understand that this
 filter will return tweets created using geotagging api but i am sure that
 atleast some people in India would have this feature enabled.

 Is it the case that this filter does not work in India? I feel so because i
 tried adding location to my tweets but cannot see any location attached to
 them. What could i be doing wrong?

 Thanks
 --
 *Paresh Nakhe
 What I have is not a dream, because I will make it a reality.*


  --
 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] Is there a way to get an user's email ID after verifying her Twitter identity using OAuth?

2011-02-28 Thread Matt Harris
Hi Dheeraj,

Twitter does not share email addresses through the API. If you wish to know
a users email address you would need to ask them for it through your own
application.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Sat, Feb 26, 2011 at 5:28 AM, Dheeraj dhemit...@gmail.com wrote:

 I am new to OAuth and have been playing around with the Twitter API. I
 am able to fetch the credentials of an user after authentication by
 making a request to http://twitter.com/oauth/authorize The response
 contains the user id, screen name etc. but not the email ID.

 Is it possible at all to retrieve the email ID of the user?

 --
 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 uses different pool of user ids?

2011-02-28 Thread Marc Mims
* ce conor.e...@gmail.com [110228 12:01]:
 A totally different user!  There appears to be no way to get the
 proper numerical id from the search API.  Am I doing something wrong
 or is this a known issue and I should just rewrite to use their screen
 name to look up users instead?

See the Warning here:
http://dev.twitter.com/doc/get/search

-Marc

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

2011-02-28 Thread 1537 News
Hi Matt,

I am using *phirehose* and *not* passing anything else beside the
$streamsetLocations

Thanks
Harry




On Mon, Feb 28, 2011 at 2:07 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Harry,

 Which library are you using and how is it passing the parameters to the
 streaming API? Also, are you using any other filter parameters when
 connecting to the Streaming API?

 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris


 On Fri, Feb 25, 2011 at 9:59 PM, 1537 News 1537n...@gmail.com wrote:

 I am using the following


 $stream-setLocations(array(array(-87.60603635063173,41.78233280134992,-87.5898572658539,41.813078558257345)

 Most of my responses are outside this range from
 (40.56190 - 42.46604)  (-87.35747  -88.65564)

 I have 13,658 records
 Approx 800 are within this range.

 Is there anything I can do to increase the accuracy of the setLocation
 call?

 Thanks
 Harry Osoff


 http://1537news.com/
 Follow Us on Twitter http://twitter.com/1537news/
 Facebook Fan 
 Pagehttp://www.facebook.com/profile.php?id=10680443959#%21/pages/1537News/143582755669105?v=wall

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




-- 
http://1537news.com/
Follow Us on Twitter http://twitter.com/1537news/
Facebook Fan 
Pagehttp://www.facebook.com/profile.php?id=10680443959#%21/pages/1537News/143582755669105?v=wall

-- 
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] support for location filter of streaming api in India

2011-02-28 Thread Augusto Santos
Paresh,

The problem is that all geocoded tweets from India dind't have the country
field filled. I use geographic database to transform Lat/Long into political
boundaries information. The twitter dind't support most of countries
boundaries. But if you set a bounding box at Lat/Long India area, streaming
API will get a lot of tweets.

Cheers, Augusto.

On Mon, Feb 28, 2011 at 5:11 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Paresh,

 The Streaming API supports any latitude and longitude bounding boxes but
 relies on Tweets being geocoded. If the quantity of Tweets being returned is
 low it could that Twitter users in India do not geocode their Tweets, or the
 devices they use do not support geocoding

 Hope that answers your question,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris



 On Sat, Feb 26, 2011 at 4:22 AM, Paresh Nakhe paresh.na...@gmail.comwrote:

 Hi,
 I have just started using location filter in statuses/filter method.
 Initially i tried with the coordinates given in documentation (which were
 for New York) and it worked fine. I then worked out the coordinates for some
 area in India but i am not getting any tweets at all. I understand that this
 filter will return tweets created using geotagging api but i am sure that
 atleast some people in India would have this feature enabled.

 Is it the case that this filter does not work in India? I feel so because
 i tried adding location to my tweets but cannot see any location attached
 to them. What could i be doing wrong?

 Thanks
 --
 *Paresh Nakhe
 What I have is not a dream, because I will make it a reality.*


  --
 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] Streaming API access level limit

2011-02-28 Thread Matt Harris
Hi J,

Glad you worked it out. The Streaming API (stream.twitter.com) does not
support multiple streams - only one connection is permitted. This is
explained in more detail on our developer resources site:
http://dev.twitter.com/pages/streaming_api_concepts#access-rate-limiting

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Feb 28, 2011 at 12:54 AM, Chen Jack S Y aquaj...@gmail.com wrote:

 Thanks, figured it out. Another question, how many connections are allowed
 with a shared IP? Any suggestions on multiple streams in one machine with
 one IP?

 J

 On Mon, Feb 28, 2011 at 1:50 PM, John Kalucki j...@twitter.com wrote:

 Are you specifying the IDs in the URL or in a POST parameter? There's a
 limit to the URL length that we'll parse, but we'll take huge POST
 parameters.

 -John Kalucki
 http://twitter.com/jkalucki
 Twitter, Inc.


 On Tue, Feb 22, 2011 at 11:22 PM, aquajach aquaj...@gmail.com wrote:

 Hi,

 Just started to play with streaming API, but get confused on how many
 followers id could be tracked with one connection. In basic level of
 filter,
 http://dev.twitter.com/doc/post/statuses/filter says 400 followers ids
 http://dev.twitter.com/pages/streaming_api_methods says 5,000
 followers ids

 Then I tried in local machine, could only follow around 320 ids
 ( receive 413 if more)  and seems multiple connections in one IP are
 not allowed. Any body here know: Is there any ways to follow a few
 thousands ids for each authenticated account (with oauth)? Or how to
 apply for higher access level?

 Any experience share or answers are appreciated!

 J

 --

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

2011-02-28 Thread Matt Harris
Hi Harry,

Thanks for information. Can you share some of the Tweets (ID is fine) which
you were streamed that are outside the bounding box you gave.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Feb 28, 2011 at 12:23 PM, 1537 News 1537n...@gmail.com wrote:

 Hi Matt,

 I am using *phirehose* and *not* passing anything else beside the
 $streamsetLocations

 Thanks
 Harry




 On Mon, Feb 28, 2011 at 2:07 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Harry,

 Which library are you using and how is it passing the parameters to the
 streaming API? Also, are you using any other filter parameters when
 connecting to the Streaming API?

 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris


 On Fri, Feb 25, 2011 at 9:59 PM, 1537 News 1537n...@gmail.com wrote:

 I am using the following


 $stream-setLocations(array(array(-87.60603635063173,41.78233280134992,-87.5898572658539,41.813078558257345)

 Most of my responses are outside this range from
 (40.56190 - 42.46604)  (-87.35747  -88.65564)

 I have 13,658 records
 Approx 800 are within this range.

 Is there anything I can do to increase the accuracy of the setLocation
 call?

 Thanks
 Harry Osoff


 http://1537news.com/
 Follow Us on Twitter http://twitter.com/1537news/
 Facebook Fan 
 Pagehttp://www.facebook.com/profile.php?id=10680443959#%21/pages/1537News/143582755669105?v=wall

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




 --
 http://1537news.com/
 Follow Us on Twitter http://twitter.com/1537news/
 Facebook Fan 
 Pagehttp://www.facebook.com/profile.php?id=10680443959#%21/pages/1537News/143582755669105?v=wall

 --
 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] Streaming API access level limit

2011-02-28 Thread Augusto Santos
Although this is specified at streaming API docs, it's possible to connect
two diferent users at the same IP address.

On Mon, Feb 28, 2011 at 5:25 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi J,

 Glad you worked it out. The Streaming API (stream.twitter.com) does not
 support multiple streams - only one connection is permitted. This is
 explained in more detail on our developer resources site:

 http://dev.twitter.com/pages/streaming_api_concepts#access-rate-limiting

 Best,
  @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris


 On Mon, Feb 28, 2011 at 12:54 AM, Chen Jack S Y aquaj...@gmail.comwrote:

 Thanks, figured it out. Another question, how many connections are allowed
 with a shared IP? Any suggestions on multiple streams in one machine with
 one IP?

 J

 On Mon, Feb 28, 2011 at 1:50 PM, John Kalucki j...@twitter.com wrote:

 Are you specifying the IDs in the URL or in a POST parameter? There's a
 limit to the URL length that we'll parse, but we'll take huge POST
 parameters.

 -John Kalucki
 http://twitter.com/jkalucki
 Twitter, Inc.


 On Tue, Feb 22, 2011 at 11:22 PM, aquajach aquaj...@gmail.com wrote:

 Hi,

 Just started to play with streaming API, but get confused on how many
 followers id could be tracked with one connection. In basic level of
 filter,
 http://dev.twitter.com/doc/post/statuses/filter says 400 followers ids
 http://dev.twitter.com/pages/streaming_api_methods says 5,000
 followers ids

 Then I tried in local machine, could only follow around 320 ids
 ( receive 413 if more)  and seems multiple connections in one IP are
 not allowed. Any body here know: Is there any ways to follow a few
 thousands ids for each authenticated account (with oauth)? Or how to
 apply for higher access level?

 Any experience share or answers are appreciated!

 J

 --

 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




-- 
氣

-- 
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: Getting larger scale user avatars

2011-02-28 Thread t.arnf...@googlemail.com
Thanks! That'll do it :-)

On Feb 26, 9:09 pm, Scott Wilcox sc...@dor.ky wrote:
 Hi Tom,

 You can change the ending of the URL to manipulate the image, like so:

 This is the returned JSON which is 48x48px:
 profile_image_url : 
 http://a1.twimg.com/profile_images/1229819325/bw_normal.jpg;

 73x73px:http://a1.twimg.com/profile_images/1229819325/bw_bigger.jpg

 Original:http://a1.twimg.com/profile_images/1229819325/bw.jpg
 Hope thats helpful.

 Scott.

 On 26 Feb 2011, at 20:19, t.arnf...@googlemail.com wrote:







  Hey,

  I noticed today when using the API that the avatars that come back via
  the account/verify_credentials are 48 x 48 pixels in size. Is there a
  way to get a larger size, something more like 96 x 96?

  Thanks,
  Tom Arnfeld
  @twtmore

-- 
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] Streaming API access level limit

2011-02-28 Thread Chen Jack S Y
From the developer resource, it is said that 'Each account may create
only one standing connection to the Streaming API'. While it is
possible to have a few streams with different users' account through
OAuth? If yes, what's the limit?

Thanks,
J

On Tue, Mar 1, 2011 at 4:25 AM, Matt Harris thematthar...@twitter.com wrote:

 Hi J,
 Glad you worked it out. The Streaming API (stream.twitter.com) does not 
 support multiple streams - only one connection is permitted. This is 
 explained in more detail on our developer resources site:
     http://dev.twitter.com/pages/streaming_api_concepts#access-rate-limiting
 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris


 On Mon, Feb 28, 2011 at 12:54 AM, Chen Jack S Y aquaj...@gmail.com wrote:

 Thanks, figured it out. Another question, how many connections are allowed 
 with a shared IP? Any suggestions on multiple streams in one machine with 
 one IP?
 J
 On Mon, Feb 28, 2011 at 1:50 PM, John Kalucki j...@twitter.com wrote:

 Are you specifying the IDs in the URL or in a POST parameter? There's a 
 limit to the URL length that we'll parse, but we'll take huge POST 
 parameters.
 -John Kalucki
 http://twitter.com/jkalucki
 Twitter, Inc.

 On Tue, Feb 22, 2011 at 11:22 PM, aquajach aquaj...@gmail.com wrote:

 Hi,

 Just started to play with streaming API, but get confused on how many
 followers id could be tracked with one connection. In basic level of
 filter,
 http://dev.twitter.com/doc/post/statuses/filter says 400 followers ids
 http://dev.twitter.com/pages/streaming_api_methods says 5,000
 followers ids

 Then I tried in local machine, could only follow around 320 ids
 ( receive 413 if more)  and seems multiple connections in one IP are
 not allowed. Any body here know: Is there any ways to follow a few
 thousands ids for each authenticated account (with oauth)? Or how to
 apply for higher access level?

 Any experience share or answers are appreciated!

 J

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

-- 
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] xAuth without sending the password suggestion

2011-02-28 Thread Albert
Hi!

Good day!

I'm Albert Padin and I've been looking at your implementation of
xAuth, and
I want to make a suggestion for it.

The suggestion I want to make allows the requesting application to
make a
user authentication (login) request without including the password
credential in the request being sent.

Currently, it is not much of a problem sending the user login and
password
credentials in the request because it is done thru HTTPS. I don't know
if my
suggestion will make such a great improvement, but it can I think
allow
secure authentication (login) without the application including the
password
in the request done through HTTP.

The implementation is basically the same as the xAuth implementation
details
except for the following:

1. The password credential is hashed (the same way it's hashed in the
server-side. Eg. MD5) by the application.

2. After the application generates the HMAC signature, it omits the
password
field and value (hashed credential) from the request and sends it to
the
server (even thru HTTP). Now on the server end, when it receives the
request, it just inserts the hash value of the user password and
validates
the signature. If the signature validates, then you can assume that
the
password was correct. If it's not valid, then either the password is
wrong,
or the request has been tampered with. In both cases, you don't grant
a
token.

With this implementation, you can provide authentication thru HTTP
without
passing the password through the wire. I don't know if this advantage
is
worth it.

Should you have any questions, clarifications, or reactions, please
don't
hesitate to reply. You may even send me a reply telling me where I
might
have been mistaken.

Thanks and enjoy!

Albert

-- 
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: Streaming users on a website

2011-02-28 Thread Omer Rosenbaum
But it is not available for private accounts (according to what is
written there).

On Feb 28, 9:22 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Omer,

 The Tweets which are shown on the logged out homepage are the favorites of
 @toptweets:
    http://twitter.com/toptweets/favorites

 You can use our favorites widget to add these to your own site:
    http://twitter.com/about/resources/widgets/widget_faves

 Hope that helps,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris







 On Sat, Feb 26, 2011 at 11:28 AM, Omer rosen omero...@gmail.com wrote:
  On the main page of Twitter (if you are not logged on) there is a
  stream users, probably random.
  I want to have a similar stream on my WordPress based website. It will
  show specific users that I will set in advance.
  Is there an available source code for that?

  --
  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: custom share button and following - works for one twitter user but not for another

2011-02-28 Thread KennyB
Thanks for the question. Sorry, should have stated this in the
original post.

No, I'm definately not following schoolsvhunger.

I was aware of this behaviour (which makes sense), which is why I'm
puzzled that I don't get the follow request for schoolsvhunger. Seems
like this should be a straightforward thing to do.

On Feb 24, 1:33 pm, Jonathan Strauss jonat...@awe.sm wrote:
 Are you already following the secondTwitteraccount (i.e.
 schoolsvhunger) from your logged inTwitteruser? The suggestions will
 only show you up to 2Twitterusers you don't currently follow, which
 is why you have the option to specify up to 7 (1 via and up to 6
 related).

 -jonathan

 On Feb 22, 8:28 am, KennyB kenny...@gmail.com wrote:

  Hi,

  When I share my page with the related url param as
  'schoolsserve:Schools Fight Hunger', I am asked if I want to follow
  schoolsserve after sharing the suggested text.

  When I only change the related url param to be 'schoolsvhunger:Schools
  Fight Hunger' (no other changes), I am not asked if I want to follow
  schoolsvhunger after sharing the suggested text.

  The code I'm using is below; shown with the 'non-working'
  schoolsvhunger related param in play.

  Any ideas why this wouldn't work? Would it be some kind of privacy
  setting that schoolsvhunger has set?

  div id=custom-tweet-button class=socialicon
          ?php
                  $text = JText::_('SCHOOL PROFILE HEADERTWITTERTEXT');
                  $related = 'schoolsvhunger:Schools Fight Hunger';
  //              $related = 'schoolsserve:Schools Fight Hunger';
                  $twitterurl = 
  'http://twitter.com/share?url='.rawurlencode($url).
                          'related='.rawurlencode($related).
                          'text='.rawurlencode($text);
          ?
          a href=?php echo $twitterurl; ? target=_blank
  rel=nofollowTweet/a
  /div

  The a tag generated by the above is:

  a rel=nofollow target=_blank href=http://twitter.com/share?
  url=http%3A%2F%2Fdev.schoolsfighthunger.org%2Fschool%2F2000463-
  albertville-elementary.htmlamp;related=schoolsvhunger%3ASchools
  %20Fight%20Hungeramp;text=My%20school%20joined%20%40schoolsvhunger
  %20to%20%23fighthunger%21%20Make%20sure%20your%20school%20is%20taking
  %20part-join%20the%20fight%21Tweet/a

  Any help greatly appreciated.

  Thanks
  Kenn

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