[twitter-dev] Posting to Twitter using oAuth

2010-03-17 Thread ministrymason
Can anyone provide a example of connecting to twitter via oAuth and publishing a tweet. I have created a twitter ap. I have spent hours searching on the internet but i can only find PHP examples. My website is built using JSP and Javascript. Can anyone help? Thanks Chris

[twitter-dev] Re: 401 Unauthorized

2010-03-17 Thread Uladzimir Pashkevich
Does anyone has any ideas? Any help is really appreciated, because I can't understand this kind of the API's behavior. On Mar 12, 6:40 pm, Uladzimir Pashkevich wrote: > Hi everyone, > > I am developing an application using Twitter API and I have > encountered into a strange behavior connected wit

[twitter-dev] Problem - Two user with the same screen_name, Example below

2010-03-17 Thread georgios
Hi I was under the impression that screen_names are unique but I came across two different users having the same screen_name: http://api.twitter.com/1/users/show.xml?user_id=110332760 http://api.twitter.com/1/users/show.xml?user_id=122406923 The screen_name is Y_H_B and when we access the User S

[twitter-dev] PROBLEM WITH STATUSES ID RETURNED FROM SEARCH

2010-03-17 Thread brunobar79
I found this problem while i was trying to add and delete some favorites to my acocunt and the response was always "NOT FOUND" Below is a var dump of the result when searching "google" If you have a look you will see on each status the propery ["id"]=> int(2147483647) It's really strange

Re: [twitter-dev] Posting to Twitter using oAuth

2010-03-17 Thread Andrew Badera
Hours, huh? http://apiwiki.twitter.com/OAuth-Examples ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Wed, Mar 17, 2010 at 8:31 AM, ministrymason wrote: > Can anyone provide a

[twitter-dev] Re: Posting to Twitter using oAuth

2010-03-17 Thread ministrymason
Ye Hours! I cant see javascript on that list? On Mar 17, 1:41 pm, Andrew Badera wrote: > Hours, huh? > > http://apiwiki.twitter.com/OAuth-Examples > > ∞ Andy Badera > ∞+1 518-641-1280begin_of_the_skype_highlighting  +1 > 518-641-1280  end_of_the_skype_highlightingGoogle Voice > ∞

[twitter-dev] Re: Posting to Twitter using oAuth

2010-03-17 Thread ministrymason
Ye hours! I cant see javascript on that list. I am using JSP with the stripes framework, so i thought i would try twitter4j from the list and implement it in my actionBean. But now im having the problem of displaying the AuthRequestToken to the user and getting them to accept my application.

[twitter-dev] What are "reasonably focused" track predicates?

2010-03-17 Thread Jonathon Hill
>From the streaming API documentation: "Reasonably focused track predicates will return all occurrences in the full Firehose stream of public statuses. Overly broad track predicates will cause the output to be periodically limited. After the limitation period expires, all matching statuses will o

[twitter-dev] Re: Streaming API (filtered) missing Tweets

2010-03-17 Thread Jonathon Hill
What do you guys consider "low quality"? Jonathon On Mar 16, 9:46 am, John Kalucki wrote: > Do those same users show in search? If not, chances are that those users are > filtered for quality from both Search and Streaming. > > If the users do show in Search, there's probably something wrong wi

[twitter-dev] banned ip

2010-03-17 Thread @kemeny_x
Hi, we are able to access twitter.com or any other twitter service. we are currently running an app through the streaming API, and have been whitelisted by Twitter. But a few minutes ago we havent been able to access any of the twitter services. Could we have been bannend? if so, why?

Re: [twitter-dev] banned ip

2010-03-17 Thread John Kalucki
We just banned a number of IPs that were not following the Streaming API policy. Open a support ticket with a...@twitter.com. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Wed, Mar 17, 2010 at 9:29 AM, @kemeny_x wrote: > Hi, > we are able to access twitter.com or a

Re: [twitter-dev] Re: Streaming API (filtered) missing Tweets

2010-03-17 Thread John Kalucki
What we consider low quality varies quite a bit, and we don't go into too much detail about anit-spam work. Its partially bots and that sort of thing. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Wed, Mar 17, 2010 at 7:20 AM, Jonathon Hill wrote: > What do you guy

Re: [twitter-dev] Re: Historical user information

2010-03-17 Thread Mark McBride
The short answer is convenience for developers. In most cases showing information about a tweet isn't enough -- it needs to be augmented with user data. Rather than require a separate call to retrieve that user data (or building a cache of user object data on the client side) we provide that data

Re: [twitter-dev] Re: 401 Unauthorized

2010-03-17 Thread Mark McBride
Without more details it's tough to say. Do you at least have the screen name of the account in question, and details on both the success and failure environments? ---Mark http://twitter.com/mccv On Wed, Mar 17, 2010 at 1:39 AM, Uladzimir Pashkevich < v.pashkev...@gmail.com> wrote: > Does an

[twitter-dev] Re: PROBLEM WITH STATUSES ID RETURNED FROM SEARCH

2010-03-17 Thread natefanaro
Twitter went past id 2147483647 a while ago. Whatever you're using to parse the response has to support an id larger than a 32-bit signed integer or treat id as a string. On Mar 17, 1:35 am, brunobar79 wrote: > I found this problem while i was trying to add and delete some > favorites to my acocu

Re: [twitter-dev] Problem - Two user with the same screen_name, Example below

2010-03-17 Thread Mark McBride
Looks like a bug... can you open an issue here? http://code.google.com/p/twitter-api/issues/list ---Mark http://twitter.com/mccv On Wed, Mar 17, 2010 at 12:59 AM, georgios wrote: > Hi > > I was under the impression that screen_names are unique but I came > across two different users having

Re: [twitter-dev] What are "reasonably focused" track predicates?

2010-03-17 Thread John Kalucki
To clarify the taxonomy: The filter method supports three predicate types, represented by the parameters track (keywords), follow (users), and locations (geo). Track and locations are rate limited, but follow is not rate-limited. Follow is never rate limited. If either location or track goes over t

Re: [twitter-dev] What are "reasonably focused" track predicates?

2010-03-17 Thread Mark McBride
You will get all tweets up to a certain percentage of total tweet volume. To answer your questions in order a) In the general sense, yes b) It really depends on the specific hashtags and followers. If you have a bunch of trending hashtags followed you may run into limiting c) both. It's based o

[twitter-dev] Twitter Stream crossdomain.xml

2010-03-17 Thread TarGz
hi, I have prevriuosly work on twittearth.com and now I work a project that use the stream API. The stream API work very well, it is very responsive and powerfull and help me build a realtime geolocated search tool... The bad sing is that my Flash app only work offline because of the lak of cross

Re: [twitter-dev] Twitter Stream crossdomain.xml

2010-03-17 Thread John Kalucki
It's in the code, but turned off out of an abundance of caution for capacity reasons. Given our current plans, it's going to be a little while longer before we can turn this on. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Wed, Mar 17, 2010 at 10:29 AM, TarGz wrote:

[twitter-dev] Re: Historical user information

2010-03-17 Thread MaDeuce
Mark, thanks for the reply. I understand it from the aspect of convenience, however, I still don't understand it in terms of actual behavior. I performed an experiment with with a fairly active timeline. I grabbed 20 recent (less than one week old) status entries and 20 older (about 11 months ol

[twitter-dev] how do we get unBlacklisted???

2010-03-17 Thread @kemeny_x
We have developed an app which captures tweets containing specific keywords. Then we use a moderation dashboard to select tweets to be displayed on live Tv broadcast. Similar to what Current TV did during the presidential debate. The problem is, we apparently just got banned/block apparently b

Re: [twitter-dev] Re: Historical user information

2010-03-17 Thread Mark McBride
This is a rare case. Without going in to gory details of caching and the horrors that lie within, suffice to say that looking at a very very heavily trafficked timeline will show different behavior than less heavily trafficked ones. ---Mark http://twitter.com/mccv On Wed, Mar 17, 2010 at 12:

Re: [twitter-dev] how do we get unBlacklisted???

2010-03-17 Thread Mark McBride
Emailing a...@twitter.com (who you CC'd) is the correct response ---Mark http://twitter.com/mccv On Wed, Mar 17, 2010 at 12:36 PM, @kemeny_x wrote: > We have developed an app which captures tweets containing specific > keywords. Then we use a moderation dashboard to select tweets to be > di

Re: [twitter-dev] how do we get unBlacklisted???

2010-03-17 Thread John Kalucki
Do not attempt to get around the imposed limits by moving IPs. Instead, do all your queries on the same connection. If you need higher access, apply for higher access. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Wed, Mar 17, 2010 at 12:36 PM, @kemeny_x wrote: > We

[twitter-dev] Re: banned ip

2010-03-17 Thread @kemeny_x
We have fixed some issues, that could have caused the problem. Our app, and our personal accounts were running under the same whitelisted IP address, when split this, and keept the whitelisted IP ONLY for our app, and move to a non whitelisted IP our personal accounts. On Mar 17, 1:13 pm, John Kal

[twitter-dev] Re: how do we get unBlacklisted???

2010-03-17 Thread @kemeny_x
Thanks Mark, we are on it :) On Mar 17, 4:26 pm, Mark McBride wrote: > Emailing a...@twitter.com (who you CC'd) is the correct response > >   ---Mark > > http://twitter.com/mccv > > > > On Wed, Mar 17, 2010 at 12:36 PM, @kemeny_x wrote: > > We have developed an app which captures tweets containi

Re: [twitter-dev] Problem - Two user with the same screen_name, Example below

2010-03-17 Thread Tim Haines
Out of curiosity, how many have you found like this? Cheers, Tim. On Wed, Mar 17, 2010 at 8:59 PM, georgios wrote: > Hi > > I was under the impression that screen_names are unique but I came > across two different users having the same screen_name: > > http://api.twitter.com/1/users/show.xml?u

[twitter-dev] Re: Problem - Two user with the same screen_name, Example below

2010-03-17 Thread georgios
Sure. Just did. ID: 1533: http://code.google.com/p/twitter-api/issues/detail?id=1533&colspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Modified%20Component On Mar 17, 5:32 pm, Mark McBride wrote: > Looks like a bug... can you open an issue > here?http://code.google.com/p

[twitter-dev] Re: Problem - Two user with the same screen_name, Example below

2010-03-17 Thread georgios
Hi Tim - I have only found the one in the example. I will update this thread and the issues list of I find anything more. On Mar 17, 9:28 pm, Tim Haines wrote: > Out of curiosity, how many have you found like this? > > Cheers, > > Tim. > > On Wed, Mar 17, 2010 at 8:59 PM, georgios wrote: > > Hi

[twitter-dev] Re: Undefined Index Notice with PHP w/ statues/mentions method

2010-03-17 Thread Cassidy
Thanks Abraham, that worked! On Mar 17, 12:12 am, Abraham Williams <4bra...@gmail.com> wrote: > $mentions_decode should be an array. Try something like > > foreach ($mentions_decode as $status) { >   echo "@" . $status->user->screen_name . " just mentioned me"; > > } > > Abraham > > > > > > On Tue