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] API response w/ IP

2011-05-22 Thread Matthew Vanden Boogart
Thanks Scott. I'm making anonymous calls - nothing authenticated. Just pulling some profile/timeline info. -matthew On Sun, May 22, 2011 at 2:41 PM, Scott Wilcox sc...@dor.ky wrote: There is nothing provided by the API that can give you your own IP. Are you making OAuth authenticated calls

Re: [twitter-dev] API response w/ IP

2011-05-22 Thread Matthew Vanden Boogart
2011, at 20:24, Matthew Vanden Boogart wrote: Thanks Scott. I'm making anonymous calls - nothing authenticated. Just pulling some profile/timeline info. -matthew On Sun, May 22, 2011 at 2:41 PM, Scott Wilcox sc...@dor.ky wrote: There is nothing provided by the API that can give you your own

Re: [twitter-dev] API response w/ IP

2011-05-22 Thread Matthew Vanden Boogart
believe its CURLOPT_INTERFACE. On 22 May 2011, at 20:30, Matthew Vanden Boogart wrote: Currently, yes. I thought assigning a unique IP to the domain would solve the problem, but apparently not. I'm working on testing it on a VPS through the same host. On Sun, May 22, 2011 at 3:26 PM, Scott

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

[twitter-dev] Re: friendships/destroy Could not authenticate you

2010-12-14 Thread Matthew
Turned out to be a red herring for a totally different problem. Please disregard. On Dec 13, 7:39 pm, Matthew matt.c.w...@gmail.com wrote: Here's the code: $params = array('user_id'= 16685316);         $oauth = new TwitterOAuth(                         TWITTER_OAUTH_CONSUMER_KEY

[twitter-dev] friendships/destroy Could not authenticate you

2010-12-13 Thread Matthew
Here's the code: $params = array('user_id'= 16685316); $oauth = new TwitterOAuth( TWITTER_OAUTH_CONSUMER_KEY, TWITTER_OAUTH_SECRET_KEY, $user-getOauthToken(), $user-getOauthTokenSecret()

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

[twitter-dev] status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Matthew
Hello, Been working on a project that will allow users to reply to tweets. I am having difficulty in getting the 'in_reply_to_message_id' to be acknowledged. I have been using the latest version of Abraham's TwitterOAuth library, also confirmed the problem through apigee. Example request (over

[twitter-dev] Re: status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Matthew
Opps I meant to mark the title as 'in_reply_to_status_id'. On Oct 7, 1:37 pm, Matthew matt.c.w...@gmail.com wrote: Hello, Been working on a project that will allow users to reply to tweets. I am having difficulty in getting the 'in_reply_to_message_id' to be acknowledged. I have been using

[twitter-dev] Re: status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Matthew
, don't include your fields/parameters on the query string. Instead, put them in the POST body. You may find someday that passing such parameters on the query string just stops working. Taylor On Thu, Oct 7, 2010 at 1:37 PM, Matthew matt.c.w...@gmail.com wrote: Hello, Been working

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] REST API or best solution

2010-09-27 Thread Matthew Mihok
So I am building a caching-proxy on my server to make requests to Twitter's databases when my subsites (100+ of them) want to pull user_timeline. Our rate limit seems to go over its limit too much and thus were going to cache responses from api.twitter, and allow our subsites to pull from there

[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] lookupUsers hangs

2010-09-22 Thread Matthew Turland
, but nothing for the lookupUsers() call. Any suggestions for how to debug/troubleshoot this further? Regards, Matthew Turland -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http

[twitter-dev] Re: lookupUsers hangs

2010-09-22 Thread Matthew Turland
Didn't notice this list was for general Twitter development. Clarification: I'm using the twitter4j Java Twitter client library from http://twitter4j.org. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi

[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

[twitter-dev] Re: Help with Oauth update status

2010-08-30 Thread Matthew Cornell
I'd like to see this too. -- 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:

[twitter-dev] simple JavaScript code to update status from an html page?

2010-08-30 Thread Matthew Cornell
. Thanks very much! matt -- Matthew Cornell | m...@matthewcornell.org | 413-626-3621 | 34 Dickinson Street, Amherst MA 01002 | matthewcornell.org -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements

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: Comments for the group and Twitter staff

2009-09-15 Thread Matthew Ranney
Hey Alex, would you consider just giving everybody their money back if they aren't 100% satisfied? On Tue, Sep 15, 2009 at 2:16 PM, Alex Payne a...@twitter.com wrote: The main twitter.com site already uses the API in some places. Our revised mobile site is built entirely on the API, and our

[twitter-dev] Re: non json response

2009-09-12 Thread Matthew Ranney
I'm seeing tons of these as well. However, I've found that if you follow the suggestion of the META tag to simply refresh in 0.1 seconds if you get this bogus response, you can hide most of this from users, especially if they are on a fast network. On Thu, Sep 10, 2009 at 2:09 PM, Monica Keller

[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

[twitter-dev] Re: Whitelist DM limit Question

2009-09-01 Thread Matthew
://www.MyTwitterButler.com   From: twitter-development-talk@googlegroups.com on behalf of Matthew Sent: Tue 1/09/2009 12:27 AM To: Twitter Development Talk Subject: [twitter-dev] Whitelist DM limit Question I'm developing an application and I need to find out how the DM limit

[twitter-dev] Whitelist DM limit Question

2009-08-31 Thread Matthew
I'm developing an application and I need to find out how the DM limit will work if I get it Whitelisted. Does the expanded DM limit for whitelisted applications only apply to DM's directly from the account associated with the application that has been whitelisted, or does it apply to an account

[twitter-dev] API Calls to unauthenticated methods

2009-08-06 Thread Matthew F
Seems like calls to account/rate_limit_status are throwing errors (presumably all unauthenticated calls are too), is this due to the ddos attack? If so when/will they be back up again?

[twitter-dev] Re: HTTP 409 on status update via API

2009-08-06 Thread Matthew F
I'm getting 408s trying to authenticate with OAuth On Aug 6, 10:20 pm, John Kalucki jkalu...@gmail.com wrote: This should be fixed for the Streaming API. -John On Aug 6, 1:59 pm, Jennie Lees trin...@gmail.com wrote: Getting the same thing using the track function of the API. On Thu,

[twitter-dev] Re: Random updates coming from API

2009-07-23 Thread matthew
Have you tried unfollowing @twitterapi? On Jul 22, 8:59 pm, Devonne streeter solelydiv...@gmail.com wrote: I 've been receiving random profile updates coming from API on my profile for the last 4 weeks, i have send request to solve the issue, yet it still happening thank you

[twitter-dev] Re: Search API: geocode operator not working?

2009-07-22 Thread matthew
Chad, It looks like your mi units parameter has been truncated to m. When I add i to the string it works for me. It may be that it is returning results withing 5 meters. Matthew On Jul 22, 3:25 pm, Chad Etzel jazzyc...@gmail.com wrote: Did the geocode operator stop working? I just tried

[twitter-dev] Re: Search API error {error:since_id too recent, poll less frequently}

2009-07-22 Thread matthew
Brooks, Thanks for the link - helps me understand some of the stuff I've been seeing. Matthew On Jul 22, 1:15 pm, Brooks Bennett bsbenn...@gmail.com wrote: Matt, Here is another thread pseudo-related to the issue. http://groups.google.com/group/twitter-development-talk/browse_thread

[twitter-dev] Search API error {error:since_id too recent, poll less frequently}

2009-07-21 Thread matthew
I am polling the search API every 60 seconds and intermittently receiving the following error: {error:since_id too recent, poll less frequently} Is this behavior to be expected or is there some problem? Matthew Schrock

[twitter-dev] Search API error {error:since_id too recent, poll less frequently}

2009-07-21 Thread matthew
I am polling the Search API and intermittently receive the following error: {error:since_id too recent, poll less frequently} Is this to be expected or this something going wrong on the server side? Matthew Schrock

[twitter-dev] Re: Search API error {error:since_id too recent, poll less frequently}

2009-07-21 Thread matthew
Chad, Good to know. Thanks for your help. Matthew On Jul 21, 2:13 pm, Chad Etzel jazzyc...@gmail.com wrote: That usually happens when the search servers get out of sync and the since_id tweet hasn't been indexed on the other server(s) yet, so it thinks it's a tweet from the future. -Chad

[twitter-dev] UserIDs to UserName - in bulk

2009-05-27 Thread Matthew Lefevre (mjlefevre)
Is there a way to turn a list of UserIDs into User Name / Profile information in one web service call? or feed? Or for 8000 followers do I need to make 8000 follow up web service calls? Thanks, Matt

Re: Date Format: ex: about 2 hours ago

2008-12-24 Thread Matthew
All of the clients and the web post friendly things like about 2 hours ago. Can anyone provide a standard routine for converting the pure date element into these english strings? take a look at the way Rails does it as well,

Re: Search API feature request: follows:username

2008-12-04 Thread Matthew
On Dec 4, 8:32 pm, Chad Etzel [EMAIL PROTECTED] wrote: Not really an elegant solution/implementation, but I could imagine that the database query needed to the equivalent on the back-end servers would not exactly be trivial either. Yeah. I imagine the search functionality is actually done

Re: Posting links to twitter

2008-11-04 Thread Matthew
On Nov 4, 8:18 pm, dowhilesomething [EMAIL PROTECTED] wrote: Is this possible?  Everything I try to do comes out as text. As long as it looks like a url it seems to work, namely with the http:// I wrote a bit of code to tinyurl-ise any links

Re: Posting links to twitter

2008-11-04 Thread Matthew
On Nov 4, 8:18 pm, dowhilesomething [EMAIL PROTECTED] wrote: Is this possible?  Everything I try to do comes out as text. It works fine, as long as it recognises its a url. (I assume it uses the Rails auto_link, or something of that sort -