[twitter-dev] support for location filter of streaming api in India

2011-02-26 Thread Paresh Nakhe
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-dev] Rate limiting for streaming API

2011-02-19 Thread Paresh Nakhe
Hi,
From what i understand, there is no concept of rate limiting for streaming
api. Actually it does make sense because if anyone is to use
'statuses/sample' method (say) the limit will soon be crossed.  We are
working on something that will heavily use the streaming api, so if rate
limiting is imposed in future it could create some problems.  Are there any
chances of such a restriction being imposed?

Secondly, this api requires authentication unlike search api. Authentication
for user streams is fine but I don't understand it's need for streaming api.


Thanks,
Paresh

-- 
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 limiting for streaming API

2011-02-19 Thread Paresh Nakhe
On going through the documentation in more detail i found this:

- The the track parameter (keywords), and the location parameter (geo) on
the statuses/filter method are rate-limited predicates.

- After the * limitation period* expires, all matching statuses will once
again be delivered, along with a limit message that enumerates the total
number of statuses that have been eliminated from the stream since the start
of the connection.

What exactly is the limitation period and what is one supposed to do after
the limitation period expires? Destroy the current connection and create a
new one?

Paresh.

On Sat, Feb 19, 2011 at 6:22 PM, Tom van der Woerdt i...@tvdw.eu wrote:

 On 2/19/11 1:49 PM, Paresh Nakhe wrote:

 Hi,
  From what i understand, there is no concept of rate limiting for
 streaming api. Actually it does make sense because if anyone is to use
 'statuses/sample' method (say) the limit will soon be crossed.  We are
 working on something that will heavily use the streaming api, so if rate
 limiting is imposed in future it could create some problems.  Are there
 any chances of such a restriction being imposed?

 There's no limit on the amount of tweets you can receive, but there's a
 limit on the amount of searches you can do, and the amount of connections
 you can have open.


  Secondly, this api requires authentication unlike search api.
 Authentication for user streams is fine but I don't understand it's need
 for streaming api.

 There's probably no real technical reason for why this is required, but for
 properly being able to keep statistics etc, it's needed. That, and the fact
 that there are several different levels of access to the API.


 Thanks,
 Paresh

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




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


Re: [twitter-dev] basic authentication not supported error

2011-02-10 Thread Paresh Nakhe
Are you using twitteroauth library?

Also, the url should be like
http://api.twitter.com/1/statuses/user_timeline/sh...82
Atleast i am using this and it works for me.

On Thu, Feb 10, 2011 at 3:44 PM, nite21 shanebond1...@gmail.com wrote:

 hi all
 im loading twitter xml data and showing it in flash
 when i load this xml to get data
 http://twitter.com/statuses/user_timeline/shanebond1982
 i am getting this error basic authentication not supported error

 is there any other method to get the usertimeline data

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




-- 
*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-dev] Services_Twitter pear package

2011-02-06 Thread Paresh
Hi,
I am Paresh, a final year student in computer engg. I am an absolute
newbie as far as twitter development is concerned though i am hugely
interested in working on it.

Currently, i am developing a toy application, where one could send
tweets, receive them and some other things. I am using
Services_Twitter pear package for that.

First of all, i don't know if this a good way to go about it. In what
other way can i communicate with twitter APIs??
So here is the piece of code that is creating problem

?php

include_once 'Services/Twitter.php';

try {

  $service = new Services_Twitter('pareshnakhe','mahabharat');
  if($service)
print(first call done\n);//this is seen on screen
  $service-statuses-update('Coding with pear');

//but for this it is giving ERROR: Basic authentication is not
supported

  $service-account-end_session();
} catch (Exception $e) {
  die('ERROR: ' . $e-getMessage());
}
?

Can anyone please tell me where am i going wrong??
Pear is working fine.

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