[twitter-dev] StatusCode is -1 and isCausedByNetworkIssue is true Help Me!!!

2010-05-13 Thread 송록지기
The following pages on the server was created. - <%...@page contentType="text/xml;charset=utf-8" %> <%@ page import="java.util.List"%> <%@ page import="java.lang.System"%> <%@ page import="twitter4j.Twitter"%> <%@ pag

[twitter-dev] Need help on customized APIs

2010-05-13 Thread Sekhar
Hi All, We are planning to integrate one of our customers site (Twitter live chat service/blogs/follow-ups) with Twitter. When we try to run a sample application with Twitter open source APIs, we were not getting the desired output relatively. Could anyone suggest on customized APIs (or paid ser

[twitter-dev] providing follow link

2010-05-13 Thread castelino
Hi, I'm developing a iPhone app and i have created a twitter account for this iPhone app. I want to provide a link "follow on twitter" within the app. By clicking on this link the user should be added to the followers list of the iPhone app. Is it possible to do using the existing twitter APIs. P

[twitter-dev] Re: Whitelist Limits for Direct Messaging

2010-05-13 Thread Mo
Got it. Thanks again Brian. -Mo On May 12, 4:27 pm, Brian Sutorius wrote: > I'm not sure what you mean - our REST whitelist only accepts usernames > and IP addresses as whitelistable entities. Applications don't send > direct messages, users do; the DM limit is on a per-user basis. > > Brian >

Re: [twitter-dev] providing follow link

2010-05-13 Thread Taylor Singletary
Hi Castelino, The API does offer the ability to follow a user. You'll first have to authenticate the user through OAuth or xAuth to obtain an access token on their behalf (which I assume you are doing anyway). You then offer the link and when clicked, perform the following API call: POST http://a

Re: [twitter-dev] StatusCode is -1 and isCausedByNetworkIssue is true Help Me!!!

2010-05-13 Thread Andrew Badera
Wrong list. Try list for the library you're using. Twitter4j? Andy Badera via HTC Incredible On May 13, 2010 6:13 AM, "송록지기" wrote: The following pages on the server was created. - <%...@page contentType="text/xml;

[twitter-dev] Re: Service Application

2010-05-13 Thread Michael Cameron
Okay so i was able to write up an app to pull the access token, and secret. When sending a message using OAuth. how must it be done? all the documentation i see shows the older one user:password, and not using the OAuth. i will be using this to write in C++ environment, and a javascript. Thank you

[twitter-dev] Re: How to filter out utf-8 characters in java

2010-05-13 Thread Matt Sanford
Hi giustin, I don't think it's the same issue since yours is more PHP specific. My guess is that the PHP library in question or the code you're using to process the results is incorrectly converting between UTF-8 and ISO-8859-1 [1]. Maybe someone on the list with some more PHP knowledge can sugges

[twitter-dev] [OT] new ssl-cert for twitter.com?

2010-05-13 Thread kuhkatz
hello, sorry for being offtopic, didnt know where else to ask. (please feel free to point to other resources) my maybe-problem: i got a knew ssl-cert from twitter.com today, which looks suspicious to me, but i am not sure. the cert data is as follows: --- CN:

[twitter-dev] Re: Streaming API OAuth explanation?

2010-05-13 Thread Lucas Vickers
I am writing my own c++ based OAuth library. I know there is liboauth but I like to do things myself to learn. Anyhow I am trying to access http://stream.twitter.com/1/statuses/sample.xml and I keep getting 401. I have verified pretty much every parameter, and used the tool on http://hueniverse.

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-13 Thread John Kalucki
OAuth is not enabled on stream.twitter.com. You can try on chirpstream.twitter.com. On Thu, May 13, 2010 at 10:53 AM, Lucas Vickers wrote: > I am writing my own c++ based OAuth library.  I know there is liboauth > but I like to do things myself to learn. > > Anyhow I am trying to access http://s

[twitter-dev] UPDATE: High latency and spurious 401s with the Twitter REST API

2010-05-13 Thread Taylor Singletary
Hi Developers, Just wanted to send you all an update that we're still working with gusto on the performance problems you've been encountering (thanks for all the helpful reports!) This week and next we're making a number of calculated modifications that should help ease the issues while we simult

Re: [twitter-dev] Re: Streaming API OAuth explanation?

2010-05-13 Thread Lucas Vickers
Excellent, it works! thanks On Thu, May 13, 2010 at 2:11 PM, John Kalucki wrote: > OAuth is not enabled on stream.twitter.com. You can try on > chirpstream.twitter.com. > > > On Thu, May 13, 2010 at 10:53 AM, Lucas Vickers > wrote: >> I am writing my own c++ based OAuth library.  I know there

Re: [twitter-dev] [OT] new ssl-cert for twitter.com?

2010-05-13 Thread John Adams
On Thu, May 13, 2010 at 10:37 AM, kuhkatz wrote: > i got a knew ssl-cert from twitter.com today, which looks suspicious to me, > but i am not sure. > issue date: 26.05.2009 > valid until: 28.05.2010 The twitter.com cert, as assigned by Equifax/RapidSSL is about to expire and we are going to upg

Re: [twitter-dev] Re: How to filter out utf-8 characters in java

2010-05-13 Thread Zac Bowling
PHP treats strings as c strings basically (char/byte arrays). It won't really do anything special automagically and leaves it up to you to make sure you treat your strings safely. Make sure your code is encoded in utf-8 and make sure your content types are set to UTF-8 in your responses. Use UTF

[twitter-dev] parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Raffi Krikorian
tweet text can potentially mention other users, lists, contain URLs, and contain hashtags -- in fact, something like 50% of tweets contain at least one of those. developers who want to understand the tweet text have to parse the text to try to extract those entities (which can get really hard and

[twitter-dev] Re: Announcing Twurl: OAuth-enabled curl for the Twitter API

2010-05-13 Thread Faried Nawaz
Scott, Nate: I got it to work with a minor adjustment on Ubuntu 10.04. I did apt-get install rake rubygems libopenssl-ruby gem install oauth gem install rr gem install require_all git clone http://github.com/marcel/twurl.git apply this diff: http://gist.github.com/400489 rake dist:gem gem instal

[twitter-dev] Re: Why have I recieved a HTTP 601 Response.

2010-05-13 Thread Asura
yes, my proxy located in south korea. and every sigle try to authoization are disconnected. On May 10, 2:13 am, Raffi Krikorian wrote: > i'm not sure - how long do you see the connection hang before the disconnect > occurs?  how frequently do you see this issue?  where is your proxy > geographi

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread glenn gillen
Raffi, This follows on nicely from the presentation at Warblecamp last week discussing how difficult it is to do this right, and I think a consistent approach across all clients (including twitter.com, mobile.twitter, and 3rd party apps) should be priority number 1. However looking at your example

Re: [twitter-dev] Re: Malformed XML in some Atom feeds...

2010-05-13 Thread Brandon Stone
FYI, it looks like the stray ampersands are still floating around in the feeds of some Twitter lists. Still causes validation errors. Maybe the bug fix is propagating throughout Twitter? While we wait for this to be resolved, this regex might help any developer who wants things to work on their

Re: [twitter-dev] parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread M. Edward (Ed) Borasky
On Thursday, May 13, 2010 02:25:27 pm Raffi Krikorian wrote: > tweet text can potentially mention other users, lists, contain URLs, and > contain hashtags -- in fact, something like 50% of tweets contain at least > one of those. developers who want to understand the tweet text have to > parse the

RE: [twitter-dev] parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Brian Smith
Raffi, I have noticed that the API sometimes returns user ID's that are out of sync with username. I think one case is where a Alice retweets Bob's tweet, and then Bob changes his name to Charlie. When I try to reply to it, it doesn't show up as "in reply to" to original tweet because the reply

RE: [twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Brian Smith
Glenn Gillen wrote: > Without looking at how twitter.com would currently handle that example, I > would have expected the url to be "http://dev.twitter.com/ #hot" and for the > tweet to contain no hashtag. If the hashtag always takes precedence I'd have no > way to link to the following without usi

Re: [twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Raffi Krikorian
hey glenn. i think something went wrong in the copy and paste -- there should have been a space between the URL and the hashtag. On Thu, May 13, 2010 at 11:02 PM, glenn gillen wrote: > Raffi, > > This follows on nicely from the presentation at Warblecamp last week > discussing how difficult it

Re: [twitter-dev] parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Raffi Krikorian
> > I have noticed that the API sometimes returns user ID’s that are out of > sync with username. I think one case is where a Alice retweets Bob’s tweet, > and then Bob changes his name to Charlie. When I try to reply to it, it > doesn’t show up as “in reply to” to original tweet because the reply

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Rich
I can see the inside some of the entities tag causing some developers some problems as it's the same tag name as the status. Of course all of us should be able to handle it, but just look what happened with the extra user id tag inside a status On May 13, 11:11 pm, Raffi Krikorian wrote: > hey

Re: [twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Raffi Krikorian
yeah - i'm extremely sensitive to that not happening again. i'll keep that in mind. i expect there may be another draft floated around before we start to roll this out. On Thu, May 13, 2010 at 11:14 PM, Rich wrote: > I can see the inside some of the entities tag causing some > developers some

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Jim DeLaHunt
Raffi: On May 13, 2:25 pm, Raffi Krikorian wrote: > as shown above, we'll be parsing out all mentioned users, all lists, all > included URLs, and all hashtags This is an interesting step forward. The internationalisation considerations can be sticky, though. I did some entity-parsing fro

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread glenn gillen
On May 13, 11:11 pm, Raffi Krikorian wrote: > hey glenn. > > i think something went wrong in the copy and paste -- there should have been > a space between the URL and the hashtag. My bad. Back in my box then. Cheers, -- Glenn Gillen http://glenngillen.com/

Re: [twitter-dev] Re: Malformed XML in some Atom feeds...

2010-05-13 Thread Raffi Krikorian
the fix has been deployed, and it may be a caching issue. if you have a list of a few, we can go manually investigate. On Thu, May 13, 2010 at 10:54 PM, Brandon Stone wrote: > FYI, it looks like the stray ampersands are still floating around in the > feeds of some Twitter lists. Still causes v

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Dewald Pretorius
Raffi, This is all good, but can you please make the inclusion in the tweet payload optional? Meaning, only include it if it is requested by an additional parameter? I, and I'm sure a lot of others, are already parsing the tweet text. This is just going to consume additional bandwidth and not add

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Naveen Ayyagari
+1 on the additional parameter to optionally request the data. Every byte counts for mobile device battery life and download time. --Naveen Ayyagari @knight9 On May 13, 8:13 pm, Dewald Pretorius wrote: > Raffi, > > This is all good, but can you please make the inclusion in the tweet > payload o

[twitter-dev] Leveraging the Twitter API and scraping out tweets to only include tweets with links

2010-05-13 Thread Mrs. Tillman
I am working on a project for a client and I am looking into using the Twitter API to feed in tweets from those users who opt-in to have their twitter feed brought in. One thing that I wanted to do to customize the feed is to only show those tweets that have a link included. Does anyone have any de

Re: [twitter-dev] parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread John Barratt
Hi Raffi, This is all very cool & I'm really looking forward to this being generally available. Not sure if this would be possible/practical or not, but it would be *really* useful if short urls in a tweet could be resolved to long urls, and those included instead, or as well. For extra awe

[twitter-dev] Favorites API - want the date of the favorite

2010-05-13 Thread Scott Tamosunas
Hello, I've noticed with the Favorites API there is no way to get the date the tweet was favorited, not the date of the tweet. This would be really useful information. In addition, it would be great if they were sorted by the date of favorite, not the date of tweet. Thanks, Scott

[twitter-dev] Visualizing Tweets Over Time

2010-05-13 Thread Nadya
Hey guys, I'm curious how you can get the number of tweets over time. For example, let's say I want to create a graph that charts how many times @ladygaga has been mentioned in the past 15 minutes, as opposed to @beyonce. And I'd want that graph to update every 15 minutes. Basically, I want to kno

[twitter-dev] Searching date limitations

2010-05-13 Thread Miles Parker
This is one of those questions where I'm pretty sure I know the answer, but I'd really like to be wrong. :) There doesn't seem to be anyway to get tweets past ~7 days. Which sort of makes me wonder what the point of the since and until params are -- for the usages where only being able to search ba

[twitter-dev] "Read/Unread" field?

2010-05-13 Thread Adam
I'm not sure if this has been asked before, but I was wondering about the inclusion of a "read/unread" field included with a status. So many applications conduct their own methods of knowing whether a tweet has been read, but it would be really good if this could be unified on Twitter. I'm not comp

Re: [twitter-dev] parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Adam Green
Which APIs will this apply to? Search, REST, Streaming, all of the above? On Thu, May 13, 2010 at 5:25 PM, Raffi Krikorian wrote: > tweet text can potentially mention other users, lists, contain URLs, and > contain hashtags -- in fact, something like 50% of tweets contain at least > one of those.

Re: [twitter-dev] Visualizing Tweets Over Time

2010-05-13 Thread John Kalucki
Grab the data via the Streaming API. Use the track parameter to collect mentions. Then, graph however you see fit. Don't use search -- it's not appropriate for automated repeated queries for data collection. -John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Thu, May 13, 20

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Adam
Indeed, it would be great to see this is the preview of UserStreams :)

Re: [twitter-dev] Leveraging the Twitter API and scraping out tweets to only include tweets with links

2010-05-13 Thread Abraham Williams
You could just do a check to see if the status contains a http:// or https://. You might miss a few that don't include the protocol but it would be a pretty small amount. Abraham On Thu, May 13, 2010 at 15:15, Mrs. Tillman wrote: > I am working on a project for a client and I am looking into usi

[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-13 Thread Rich
+1 for it being optional as well. Whilst I will probably use it, it's nice to be able to keep the bandwidth download to a minimum for scenarios where it's not needed On May 14, 1:52 am, Naveen Ayyagari wrote: > +1 on the additional parameter to optionally request the data. Every > byte counts fo

Re: [twitter-dev] Leveraging the Twitter API and scraping out tweets to only include tweets with links

2010-05-13 Thread Raffi Krikorian
(this will become easier once we can roll out entities into the XML/JSON payload) On Fri, May 14, 2010 at 5:21 AM, Abraham Williams <4bra...@gmail.com> wrote: > You could just do a check to see if the status contains a http:// or > https://. You might miss a few that don't include the protocol bu