Re: [twitter-dev] Is there a standard PHP linkify routine?

2011-07-12 Thread Matthew Terenzio
I've never looked at entities but I turn URLs into links using this: $linkedtext = ereg_replace([[:alpha:]]+://[^[:space:]]+[[:alnum:]/],a href=\\\0\\\0/a, $tweet['statustext']); On Tue, Jul 12, 2011 at 10:30 AM, Adam Green 140...@gmail.com wrote: Every PHP app that displays tweets needs to

Re: [twitter-dev] I found a good solution for PHP language detection in tweets

2011-03-24 Thread Matthew Terenzio
Hi Adam, Did you see this? I haven't tested it. Just was curious to look around after your post. http://stackoverflow.com/questions/1550950/detect-chinese-multibyte-character-in-the-string Matt Terenzio On Thu, Mar 24, 2011 at 10:50 AM, Adam Green 140...@gmail.com wrote: This has been a

Re: [twitter-dev] Twitter + Gnip Partnership

2010-11-18 Thread Matthew Terenzio
We have every right in the world to gather this data for analysis without any permission. It's public. Redistributing it will be subject to fair use and copyright law but not gathering it and making broad analysis. That is what search engines do and so far the courts have said they have a right to

Re: [twitter-dev] Re: Twitter + Gnip Partnership

2010-11-18 Thread Matthew Terenzio
I don't care what your newsletter says. I'm talking about American law. On Thu, Nov 18, 2010 at 11:28 PM, L. Mohan Arun mar...@gmail.com wrote: We have every right in the world to gather this data for analysis without any permission. It's public. No. You don't get to compile posts from a

Re: [twitter-dev] Re: Twitter + Gnip Partnership

2010-11-18 Thread Matthew Terenzio
. But who cares. In the future, if you want to access the Twitter data for such usage with any sort of speed you will pay to do so. It won't even be worth the headache if you can devise an alternative. On Thu, Nov 18, 2010 at 11:35 PM, Matthew Terenzio mteren...@gmail.comwrote: I don't care what

Re: [twitter-dev] Twitter + Gnip Partnership

2010-11-18 Thread Matthew Terenzio
. Best, -- Edward H. Hotchkiss http://www.edwardhotchkiss.com/ http://www.twitter.com/edwardhotchkiss/ -- On Nov 18, 2010, at 2:26 PM, Matthew Terenzio wrote: We have every right in the world to gather this data for analysis without any permission. It's public

Re: [twitter-dev] Is authentication required to use Streaming API?

2010-10-07 Thread Matthew Terenzio
Yes, for the streaming api, http://dev.twitter.com/pages/streaming_api but it sounds like you may want the search api which doesn't require authentication: http://dev.twitter.com/doc/get/search On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote: Hello! I want to start

Re: [twitter-dev] User Streaming API and use of OAuth from web browser

2010-10-06 Thread Matthew Terenzio
There would be one more issue which requires mentioning: JavaScript's Same-origin policy. You can't make a request directly to the Twitter API via JavaScript: you *will* need a proxy on your own server. Which seems to put web developers at a sever disadvantage for search and streaming APIs

Re: [twitter-dev] User Streaming API and use of OAuth from web browser

2010-10-06 Thread Matthew Terenzio
in as a user. I know that is the case for the REST api in most cases but I'm talking about streaming and search. Tom On Oct 6, 2010, at 11:39 PM, Matthew Terenzio mteren...@gmail.com wrote: There would be one more issue which requires mentioning: JavaScript's Same-origin policy. You can't make

Re: [twitter-dev] User Streaming API and use of OAuth from web browser

2010-10-06 Thread Matthew Terenzio
that clarifies how the rate limits apply. Best @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Wed, Oct 6, 2010 at 3:28 PM, Matthew Terenzio mteren...@gmail.com wrote: On Wed, Oct 6, 2010 at 5:48 PM, Tom van der Woerdt i...@tvdw.eu wrote: I will indeed

Re: [twitter-dev] User Streaming API and use of OAuth from web browser

2010-10-06 Thread Matthew Terenzio
users interact. Instead the something like the Site Streams service (currently in beta) could be better suited. On Wed, Oct 6, 2010 at 5:18 PM, Matthew Terenzio mteren...@gmail.com wrote: So yes, I was correct (at least with search) that a web based solution is severely limited compared

[twitter-dev] Search and/or streaming rate limits

2010-09-24 Thread Matthew Terenzio
If my app has 1000 users and each one wants to do a unique search once an hour it seems like that is beyond what is being suggested. Even if I use the streaming api and filters, it looks like I could only have a couple hundred users. ( Am I missing some technique because it doesn't seem like you

[twitter-dev] List Statuses Page Limit

2010-09-08 Thread Matthew Terenzio
What is the per page limit of statuses returned on the: http://dev.twitter.com/doc/get/:user/lists/:id/statuses method? Also, if since_id is passed, how many will be returned in a page by default (if the amount returned is greater than the default)? Thanks, Matt -- Twitter developer

Re: [twitter-dev] Re: Twitter-async now let's you view a sequence diagram of calls

2010-09-04 Thread Matthew Terenzio
++ I only recommend EpiTwitter to folks as a PHP library now, ++ It's solid. On Sat, Sep 4, 2010 at 6:15 PM, Scott Wilcox sc...@dor.ky wrote: Haha, that can only lead to a better experience for the end users. For what its worth, I only recommend EpiTwitter to folks as a PHP library now, and

Re: [twitter-dev] Re: Tweeting from a CMS

2010-08-27 Thread Matthew Terenzio
Wheras formerly you must have supplied the Company's Twitter account username and password, you will now need to supply the OAuth credentials of the company account. http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials If the case happens to be you were using

Re: [twitter-dev] getting 404 error when trying to subscribe to a list

2010-08-24 Thread Matthew Terenzio
Try screen_name instead of userid. I'm not certain but it rings a bell. Not that it shouldn't work with id, of course. On Tue, Aug 24, 2010 at 8:49 PM, bear bea...@gmail.com wrote: Using oAuth I am making the following call: POST /1/userid/3968155/subscribers.json where userid is the user

Re: [twitter-dev] Is Twitter oAuth broken?

2010-07-19 Thread Matthew Terenzio
I'm getting problems on the return as well. On Mon, Jul 19, 2010 at 2:55 PM, nischalshetty nischalshett...@gmail.comwrote: My apps getting 'user has not given permission' and this is by the hundreds! I presume the oAuth API is having issues!

[twitter-dev] OAuth redirect

2010-07-12 Thread Matthew Terenzio
The redirect back to my site from the OAuth allow page always hangs. Clicking on the link results in sending the user back to the correct page. Trying to figure out how that could be on my end, but I can't see it. It fails 100% of the time, or so it seems.

Re: [twitter-dev] Re: disparities between bit.ly Google Analytics?

2010-02-22 Thread Matthew Terenzio
Google Analytics is javascript based which means a browser or some environment that can execute JS needs to open a page for a pageview There are many more HTTP requests for a given URL. Bots, spiders, aggregators etc. Since Bit.ly and other shorteners are doing 301 redirects, they can't really

Re: [twitter-dev] List ID

2010-01-21 Thread Matthew Terenzio
On Thu, Jan 21, 2010 at 1:00 PM, Lloyd England ll...@lloydengland.comwrote: Hi, quick question which I cannot find an answer for anywhere - how do you find the ID of a twitter list? http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-id Thanks!

Re: [twitter-dev] Re: OAuth DELETE LIST problem

2009-12-15 Thread Matthew Terenzio
There MAY also be an issue with how a DELETE request is formed. Try putting the parameters in the query string if you aren't. That seemed to make it work for me when it wasn't. On Tue, Dec 15, 2009 at 6:11 PM, Abraham Williams 4bra...@gmail.com wrote: The proper method is with DELETE and no

[twitter-dev] member_count lists issue

2009-12-12 Thread Matthew Terenzio
I SEEM to be getting a zero member count from a list where the only member is the owner of said list. Once I added another member to the list, the member count was 2. Anyone else notice this? Still trying to verify it's not on my end.

[twitter-dev] Show a specific list you can use the new resource

2009-11-07 Thread Matthew Terenzio
Can someone explain this? GET '/:users/lists/:list_slug.:format' Show a specific list you can use the new resource.

[twitter-dev] Re: Suggestion for User record

2009-11-01 Thread Matthew Terenzio
+1 On Sat, Oct 31, 2009 at 11:10 PM, Dave Winer dave.wi...@gmail.com wrote: It would be useful if a user had a lists_count element, in addition to the other counts (followers, statuses, favourites).

[twitter-dev] Re: Errornous link - Bracket problem with bit.ly

2009-09-10 Thread Matthew Terenzio
Yes, you need to ask twitter to fix that. They are using our api, but obviously, they are encoding the ) after the .jpg. Thanks for letting us know, but yes, this is a twitter issue. Good luck with that. Since it is acceptable to have the unencoded ) character in a URL, I don't know how they

[twitter-dev] Re: Errornous link - Bracket problem with bit.ly

2009-09-10 Thread Matthew Terenzio
If in fact URL shortening is possible via the API, then there should at least be an option to suppress it. I have seen the API shorten URLs that I have already shortened which has caused problems but I never got an answer on what the rules were because I have also noticede some longer URLs