[twitter-dev] Re: oAuth still working for everyone.?

2010-12-02 Thread jmathai
ore watching for the mistakes which some developers tend to > > > > make. > > > > > I'd recommend diving into the code and fixing the errors, instead of > > > > asking > > > > the Twitter API team to accept your "broken"

[twitter-dev] Re: Twitter + Gnip Partnership

2010-11-18 Thread jmathai
I agree with blogging platforms and social networks but not the rest. Being an owner of a website does not imply that I'm a "Google user". Nor is a musician a user of the used record store. On Nov 17, 8:48 pm, John Kalucki wrote: > Every search engine, social network, blogging platform, content a

[twitter-dev] Re: Is there stats for API clients usage?

2010-09-12 Thread jmathai
Along the same lines I'd be interested in stats by user-agent. I'd be curious how many api calls are done through my PHP library on github :) On Sep 12, 11:56 am, "D. Smith" wrote: > Hello! I know Twitter published some statistics on how users generally > use Twitter. I am looking for per-app st

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

2010-09-04 Thread jmathai
ry. > > Great work! > > On 4 Sep 2010, at 21:22, jmathai wrote: > > > > > The twitter-async library on github now lets you easily view a > > sequence diagram of calls.  This is specifically useful when you're > > making multiple calls asynchronously.  Here&

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

2010-09-04 Thread jmathai
The twitter-async library on github now lets you easily view a sequence diagram of calls. This is specifically useful when you're making multiple calls asynchronously. Here's a sample output (looks better with fixed width font). http://wiki.github.com/jmathai/twitter-async/#seque

[twitter-dev] Re: getStatusesMentions not working today....???

2010-08-31 Thread jmathai
Depending on what version of the library you're using it may default to asynchronous mode. try print_r($mentions->response); On Aug 30, 8:44 pm, mirza wrote: > hello my name is mirza. > > im new in develop twitter application. i think i have same problem. > i want to get user mentions using get_

[twitter-dev] Re: Site streams and privacy

2010-08-30 Thread jmathai
On Aug 30, 12:59 pm, "M. Edward (Ed) Borasky" wrote: > That's part of an application developer's responsibility - to make it   > clear what your application *does* "on behalf of a user" and how users   > can detect when it does something it *shouldn't* do. And yes, very few   > applications fully

[twitter-dev] Re: Site streams and privacy

2010-08-30 Thread jmathai
API. > > -John Kaluckihttp://twitter.com/jkalucki > Twitter, Inc. > > On Mon, Aug 30, 2010 at 12:05 PM, jmathai wrote: > > I haven't kept up on the streaming API but read about the new Site > > Steam and it raised some privacy concerns.  Specifically the fact that

[twitter-dev] Site streams and privacy

2010-08-30 Thread jmathai
I haven't kept up on the streaming API but read about the new Site Steam and it raised some privacy concerns. Specifically the fact that direct messages would be streamed from anyone that added your application. I understand this was always possible but the stream API makes it fairly trivial to c

[twitter-dev] Anyone else having environmental issues posting image using PHP? - But still get a 200?

2010-06-04 Thread jmathai
buntu 10.4 or php 5.3. Regardless of the issue with the library is why a 200 is returned if the operation was not OK. Being tracked here: http://github.com/jmathai/twitter-async/issues/#issue/68 Working on: osx w/ php 5.2 and libcurl 7.19.7 ubuntu 9.10 w/ php 5.2 and libcurl 7.19.5 Not worki

[twitter-dev] Re: Someone managed to get me to follow them w/o my intervention (@johnnymatosj)

2010-05-10 Thread jmathai
drew Badera wrote: > > > Ask them? I mean, this IS Twitter, right? > > > > ∞ Andy Badera > > > ∞ +1 518-641-1280 Google Voice > > > ∞ This email is: [ ] bloggable [x] ask first [ ] private > > > ∞ Google me:http://www.google.com/search?q=andr

[twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-09 Thread jmathai
Libraries and examples. Understanding authentication isn't a prerequisite for building valuable apps. If a developer wants to understand OAuth then there is plenty of documentation out there for that. I think the biggest barrier is the complexity of beginning to understand the OAuth dance. If th

[twitter-dev] Re: Bulk user lookup 502s

2010-04-02 Thread jmathai
In my experience you have to deal with 502s. I had a retry mechanism in place which would retry a request up to 3 times if a 5xx response was received. This was ≈ 6 months ago so I'm not sure the current state of affairs. On Apr 2, 11:47 am, iematthew wrote: > Sorry, I hit the reply to author ac

[twitter-dev] Re: Mad about lists and cursors... please help

2010-03-31 Thread jmathai
Are you sure you're using the string representation of the cursor instead of the int? The API's cursor exceeds PHP's max integer value (generally). jmathai ~ $ php -r '$x = json_decode(1); echo $x; ec

[twitter-dev] Re: Generating oauth_signature?

2010-03-24 Thread jmathai
Likewise for my library - if you have questions let me know. I know both Abraham and mine have been used fairly extensively w/o issues. There's a somewhat comprehensive set of unit tests as well which you can run to see if they pass. On Mar 21, 11:32 am, KPL wrote: > Hello guys, > > I want to kn

[twitter-dev] Re: Way to use JSON offline?

2010-03-20 Thread jmathai
More specifically, try phpunit's mock object framework. http://www.phpunit.de/manual/3.0/en/mock-objects.html On Mar 20, 11:08 am, Andrew Badera wrote: > Read up on the concept of "mocking." > > ∞ Andy Badera > ∞ +1 518-641-1280 Google Voice > ∞ This email is: [ ] bloggable [x] ask first [ ] pri

[twitter-dev] Re: Someone managed to get me to follow them w/o my intervention (@johnnymatosj)

2010-03-18 Thread jmathai
On Mar 18, 2:14 pm, TJ Luoma wrote: > >http://search.twitter.com/search?q=johnnymatosj > > I used this: > > http://search.twitter.com/search?q=johnnymatosj+-from%3Ajohnnymatosj > > and saw two, including you. I'm seeing 3 or 4...not a huge total but just wondering if there's a security hole. T

[twitter-dev] Re: Someone managed to get me to follow them w/o my intervention (@johnnymatosj)

2010-03-18 Thread jmathai
On Mar 18, 2:08 pm, Dewald Pretorius wrote: > His website points to some viral marketing stuff. Does the auto > following perhaps have something to do with some viral marketing > campaign that requires following on Twitter, or asks for Twitter > credentials? This is my "personal" account used to

[twitter-dev] Someone managed to get me to follow them w/o my intervention (@johnnymatosj)

2010-03-18 Thread jmathai
Anyone seen this? User @johnnymatosj started showing up in my feed and I checked and oddly enough I was following him. I never heard of him so there is some bug or he got a hold of my password (this account hasn't added any oauth apps). I did a search and saw that others have had similar issues.

[twitter-dev] Re: Introduce yourself!

2010-03-02 Thread jmathai
Author of twitter-async which is a PHP library (oauth / basic) that supports asynchronous calls to Twitter's API. Also, founder of PubliciTweet but have since sold that. twitter-async: http://github.com/jmathai/twitter-async

[twitter-dev] Re: Twitter PHP + CentOS

2009-11-25 Thread jmathai
Check the versions of software you're using. CentOS likes to make you jump through hoops in order to get newer software. Namely, check your PHP version. On Nov 25, 9:08 am, aztroboy wrote: > Hello there! I'm using a PHP Twitter OAuth library (twitter.abrah.am), > and it works perfect on Windows:

[twitter-dev] Re: Get Twitter User Details on url click

2009-11-25 Thread jmathai
Assuming you're talking about the url from your profile on twitter.com Don't know of a way to do this. You don't have access to twitter.com cookies and the referer is not really valuable here. On Nov 24, 3:09 am, Varun_EnableM wrote: > I want to track twitter name or Userid when he click on

[twitter-dev] Re: oauth_callback help

2009-11-25 Thread jmathai
Without having tested it, I wouldn't be surprised if the callback url needs to be on the same domain as the url specified in application settings. Have you tried using a callback url to a random page on the domain of the application setting url? On Nov 24, 5:38 pm, Duane Roelands wrote: > Trying

[twitter-dev] Re: Update Profile Background using oauth

2009-11-16 Thread jmathai
Which library are you using? Looking at this line: $args = array('@image' => '@'.$temp_img); it appears you might be using twitter-async. On Nov 15, 9:51 pm, stevie wrote: > Hi All, >           Update profile background using twitter api is working fine > with username and password but on oaut

[twitter-dev] Re: Update Profile Background using oauth

2009-11-16 Thread jmathai
You can use this to debug your signing process and find out where it's going awry: http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/ On Nov 15, 9:51 pm, stevie wrote: > Hi All, >           Update profile background using twitter api is working fine > with username

[twitter-dev] Re: Can developer store twitter user's username & password?

2009-11-16 Thread jmathai
The preferred method is to do this using OAuth. I don't believe there was anything forbidding it explicitly since at one point it was the only option available. On Nov 16, 3:28 am, azhan wrote: > Hello, > > Im a web developer wanted to add a twitter feed on my web. So that my > user will store

[twitter-dev] Re: http://github.com/jwage/Twitter

2009-11-16 Thread jmathai
Try one of these: http://github.com/jmathai/twitter-async http://github.com/abraham/twitteroauth On Nov 16, 9:38 am, Gaurav Shaha wrote: > After running the example.php i am getting following errors. > > *Warning*: Unexpected character in input: '\' (ASCII=92) state=1

[twitter-dev] Twitter-async PHP (oauth & basic) lib version 2 available

2009-11-16 Thread jmathai
Anyone using twitter-async can upgrade to the 2.0 version. http://wiki.github.com/jmathai/twitter-async/twitter-async-20-release-notes Changes 1. Added a new (preferred) API You can now use get, post, delete, get_basic, post_basic and delete_basic 2. No longer asynchronous by

[twitter-dev] Re: direct messages to lists

2009-11-11 Thread jmathai
That's what we offer at PubliciTweet. Create groups (now we're integrating with lists) and send DMs to the group. http://publicitweet.com On Nov 10, 11:32 am, Dale Folla MeDia wrote: > Andrew, Great idea...should be easy enough...just display all the lists and > have an "opt in" button for eac

[twitter-dev] Re: PHP Libraries for OAuth

2009-11-06 Thread jmathai
The new 2.0 version provides an alternative API to the __call method :). http://wiki.github.com/jmathai/twitter-async#usage_and_examples On Nov 1, 3:21 pm, Michael Mokrysz wrote: > Thanks to both of you, having taken a better look at epitwitter's code > I'd have to agree tha

[twitter-dev] Re: PHP Libraries for OAuth

2009-11-06 Thread jmathai
I pushed the 2.0 version of the library to Github and it includes quite a few changes. Docs: http://wiki.github.com/jmathai/twitter-async Release Notes: http://wiki.github.com/jmathai/twitter-async/twitter-async-20-release-notes # Added a new (preferred) API You can now use get, post, delete

[twitter-dev] Re: "Incorrect signature" returned for Lists API

2009-11-02 Thread jmathai
te: > Hi Jaisen, > > Doesn't Nelu's use of strtolower take care of your camel case concern? > > I just posted a comment on your blog - it'd be great if you could publish a > couple lines around usage of your lib with the new lists URL structure etc. > > Thanks so much,

[twitter-dev] Re: "Incorrect signature" returned for Lists API

2009-11-02 Thread jmathai
Nelu, While that works, I suggest using the ID over the username since a username with camel case will break the path regex. This should work with the newest version of the library from Github. I'm considering including an option to pass in the url as a string in the 2.0 version of the library.

[twitter-dev] Re: PHP Libraries for OAuth

2009-11-02 Thread jmathai
I think it will benefit all users of the library to document the method names for every call. While it's somewhat trivial to determine the method names it still required just an ounce of brain power. That ounce should be save for other tasks :). It's been on my todo list to document them all, b

[twitter-dev] Re: New cursor methods are way too slow

2009-10-15 Thread jmathai
For clarification, an api to get user objects in bulk given a set of ids - would work just as well :). Rooting for Chad on that one. On Oct 15, 6:07 pm, jmathai wrote: > I'm curious why you're using followers/ids and then users/show for > each id?  I tried using that an

[twitter-dev] Re: New cursor methods are way too slow

2009-10-15 Thread jmathai
I'm curious why you're using followers/ids and then users/show for each id? I tried using that and using statuses/followers and found that the total times were in the same ballpark. statuses/followers requires far fewer api calls if you're interested in user objects. FYI, I do want to add and s

[twitter-dev] Re: Issues I came across migrating to cursors

2009-10-14 Thread jmathai
wrote: > > > > > I'm migrating my code now.  I just pulled down 7000 users.  If I get a > > bad response to a call I'll retry it up to 5 times. > > > It took > 20 mins and < 1 hour, which is going to be troublesome. > > > Tim. > > >

[twitter-dev] Re: Search API - HTTP Response Code 502, what to do?

2009-10-09 Thread jmathai
Get used to receiving random 502 (and other response codes) from the Twitter API. If you don't know exactly what the code means I suggest retrying it. If it's explicit that you're being rate limited then wait before you retry. http://twitter.com/jkalucki/status/4686847704 http://twitter.com/jka

[twitter-dev] Issues I came across migrating to cursors

2009-10-06 Thread jmathai
So a user comes to the site and I need to build their social graph. I have two options. 1) Use followers/ids and get ids of all their followers 5,000 at a time 2) Use statuses/followers and get profiles of all followers 100 at a time Ids alone don't really do me much good. So option 2 is more

[twitter-dev] Re: [twitter Dev] Failed to validate oauth signature and token

2009-10-06 Thread jmathai
The order of parameters shouldn't matter. What library are you using to generate the url? On Oct 6, 8:51 pm, ryan alford wrote: > The signature needs to be at the end of the URL, not sorted with the > other parameters. > > On Oct 6, 2009, at 11:47 PM, uookeng wrote: > > > > > I am trying t

[twitter-dev] Re: Twitter, Please Explain How Cursors Work

2009-10-06 Thread jmathai
On Oct 6, 11:06 am, Jesse Stay wrote: > I said the same thing in the last thread about this - still no clue what > Twitter is doing with cursors and how it is any different than the previous > paging methods. > Jesse Is the main advantage that the new method takes a snapshot of the followers lis

[twitter-dev] Re: friendship/create, and OAuth?

2009-10-06 Thread jmathai
It also works using twitter-async. You can run the unit tests. http://github.com/jmathai/twitter-async/tree/master On Oct 5, 11:43 pm, Fahim wrote: > I have tested using three different libraries - one is MPOAuth, the > other one is the PHP library linked to via the Twitter API wiki and

[twitter-dev] Re: Rate limit response code(s)

2009-10-05 Thread jmathai
the response codes to make more sense? On Oct 5, 6:48 pm, Chad Etzel wrote: > Hello, > > On Mon, Oct 5, 2009 at 8:53 PM, jmathai wrote: > > > Why are 400, 403 and 503 valid response codes to signify that a call > > is being rate limited?  Was there a dart board involved?

[twitter-dev] Rate limit response code(s)

2009-10-05 Thread jmathai
Why are 400, 403 and 503 valid response codes to signify that a call is being rate limited? Was there a dart board involved? * 400 Bad Request: The request was invalid. An accompanying error message will explain why. This is the status code will be returned during rate limiting. * 403 For

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-25 Thread jmathai
Dewald sums it up great. I'm not affected by this issue but keeping the barrier of entry low is of high value. It sucks that some PHP installations have this issue, but if there's a good way to accomodate such a popular language then what's the harm? This brings up an issue though. I'm not in

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-25 Thread jmathai
It's ridiculous to suggest a change in hardware (64 bit) or software (switch from PHP) to use Twitter's API. It's not like either of these are archaic. It sucks, sure, but it's silly to suggest such a "solution". BTW, I don't have this problem. I'm just trying to be the voice of reason. On Sep

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-25 Thread jmathai
I don't think anyone's saying it's Twitter's problem (at least I hope not). It's the same issue as supporting Internet Explorer. You can bitch and complain all you want about IE not supporting standards but if it's the most popular (or one of the most popular) browsers that are in use --- then p

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-25 Thread jmathai
I like Abraham's idea: >>Twitter could add: "next_cursor_string":"1314614526448841129" Or a general return_as_string parameter which would return all values as strings. This would solve the problem for future values that might exceed the max int. There are going to be a lot of devs using PHP th

[twitter-dev] Re: SERIOUS Problem With Cursors In JSON Followers/Friends Ids

2009-09-24 Thread jmathai
Agreed that the problem isn't Twitter's fault. But a basic feature like cursor should work in a language as popular as PHP. Not so much in principle but in practice. Has anyone tried PEAR's Services_JSON? I haven't tried nor looked at the source. It's also slower than the native json_* functio

[twitter-dev] Re: I'm back baby

2009-09-23 Thread jmathai
<> Isn't exactly accurate. Except in the sense that politicians use the word. On Sep 22, 9:26 am, "Dean Collins" wrote: > I'm back baby, bigger and badder than before -www.MyTwitterButler.com >   is no.MyPostButler.com >   fe

[twitter-dev] Re: using twitter api problem

2009-09-21 Thread jmathai
To test and see if you're being blocked try curl from the command line: curl -u user:password -d "status=playing with cURL and the Twitter API" http://twitter.com/statuses/update.xml On Sep 19, 12:44 pm, apex wrote: > I am using twitter api for posting new posts from my site to twitter > and ev

[twitter-dev] Re: new cursor-based pagination not multithread-friendly

2009-09-18 Thread jmathai
I haven't switched to the cursor method yet but I access the follower list like you described and I have no issues with performance since the calls aren't serialized. If the reliability could be fixed and the page parameter preserved, then I'd vote for that. On Sep 18, 1:09 am, alan_b wrote: >

[twitter-dev] Re: Are you seeing garbled JSON or XML responses?

2009-09-18 Thread jmathai
ot;15581955d5d3cd6ef94193cf853745fc",oauth_timestamp="1252539951",oauth_signature_method="HMAC- SHA1",oauth_version="1.0",oauth_signature="[snip]" User-Agent: EpiTwitter (http://github.com/jmathai/twitter-async/tree/) RESPONSE CODE 200 RESPONSE BODY h

[twitter-dev] Re: tweeting with oauth

2009-09-02 Thread jmathai
Could use Abraham or my library. https://github.com/abraham/twitteroauth/tree https://github.com/jmathai/twitter-async/tree I have some blog posts that might help as well. http://www.jaisenmathai.com/blog/2009/03/31/how-to-quickly-integrate-with-twitters-oauth-api-using-php/ http

[twitter-dev] Re: Twitter Open Connect

2009-09-02 Thread jmathai
This is the closest, http://apiwiki.twitter.com/Sign-in-with-Twitter On Sep 2, 7:10 pm, monkeyvu wrote: > Hi all, > > Does Twitter support Open Connect which like the Facebook does? > > Thanks,

[twitter-dev] Re: Can you speak in plain english

2009-09-02 Thread jmathai
false On Sep 2, 6:50 pm, Dante Soiu wrote: > And not computer language, Dante Soiu

[twitter-dev] Re: Twitter IP Whitelisting

2009-09-01 Thread jmathai
To see what the status of your IP is regarding rate limit, issue the following from that IP address: curl -I http://twitter.com/users/show.xml?screen_name=dougw | grep "X- RateLimit-Limit" If it's well above 150 then you're whitelisted. On Sep 1, 11:28 pm, Andy Pirate wrote: > So here's the de

[twitter-dev] Re: is this steet legal??

2009-09-01 Thread jmathai
Why wouldn't this be legal? On Sep 1, 7:22 pm, clearmedia wrote: > Hi everyone, > > Just wanting to know if this function is ok to connect and pull down > twitter statuses. It works by the way! > > function get_twitter_feed($screen_name){ >                         $xml=new DOMDocument(); >      

[twitter-dev] Re: Anyone updated jmathai OAuth library for 301s?

2009-09-01 Thread jmathai
One the issues is that the twitter-sync library utilizes multicurl which allows for parallel requests. Introducing this type of logic is tricky since the library allows you to access the results "later" and only at that point can we inspect the headers. Most people probably use it in a manner wh

[twitter-dev] Re: Anyone updated jmathai OAuth library for 301s?

2009-09-01 Thread jmathai
api call which follows a 302 // query database and other stuff On Sep 1, 3:03 pm, davidddn wrote: > On Sep 1, 5:00 pm, jmathai wrote: > > > I'm reconsidering adding support for POSTs.  What's the usecase > > exactly?  Does Twitter 302 POST requests?  If so, what's

[twitter-dev] Re: Anyone updated jmathai OAuth library for 301s?

2009-09-01 Thread jmathai
ly > following the 301s?  Since FOLLOW_LOCATION doesn't work on POSTs, the > library needs to be re-written in parts to manually follow the > redirects. > > Don't want to duplicate the work if someone has done it. > > The code is here:https://github.com/jmathai/twitter-async/tree

[twitter-dev] Re: singing in to twitter with php

2009-09-01 Thread jmathai
If you're looking to use "sign in with Twitter" then follow these steps: http://www.jaisenmathai.com/blog/2009/04/30/letting-your-users-sign-in-with-twitter-with-oauth/ On Sep 1, 11:08 am, Termanater13 wrote: > Im looking for a way to sign in while getting the data > fromhttp://twitter.com/sta

[twitter-dev] Re: Whitelist DM limit Question

2009-09-01 Thread jmathai
No. Whitelisting does not apply to status updates or direct messages. You can perform thousands of GETs. >From http://apiwiki.twitter.com/Rate-limiting: "Whitelisting does not removed the daily update and follower limits associated with POST requests; these limits are administered on a per accoun

[twitter-dev] Re: Anyone updated jmathai OAuth library for 301s?

2009-09-01 Thread jmathai
I didn't know FOLLOWLOCATION didn't work for posts :). Looks like the only way to fix it is to manually follow the url in the header for 301/302s. http://github.com/jmathai/twitter-async/issues/#issue/20 On Aug 31, 8:44 am, davidddn wrote: > Has anyone updated the Jaisen Mathai

[twitter-dev] Re: Whitelist DM limit Question

2009-09-01 Thread jmathai
POSTs count against the authenticating user's limit and are separate from your application's limit (whitelisted or not). POSTs include status updates and DMs. On Aug 31, 9:27 pm, Matthew wrote: > I'm developing an application and I need to find out how the DM limit > will work if I get it White

[twitter-dev] Started getting "Incorrect Signature" but I verified the signature is correct

2009-08-28 Thread jmathai
Not sure what I'm doing wrong here (but I've been doing it for 2 days now). I'm having trouble with a specific call. I plugged the values into Eran's form to validate that my signature was correct (assuming his form is correct). They match. Anyone else having problems with this? http://www.hu

[twitter-dev] Using twitter-async? Seeking input on refactoring exceptions

2009-08-16 Thread jmathai
If you're using twitter-async, please consider providing feedback on the proposal below. http://wiki.github.com/jmathai/twitter-async/seeking-input-for-exception-refactoring Thanks, Jaisen

[twitter-dev] Re: Problem with updating user's background with API

2009-08-03 Thread jmathai
If you're using PHP/cUrl then specify the file as a normal post parameter prepended with an ampersand. Something along the lines of: curl_setopt($ch, CURLOPT_POSTFIELDS, array('image'=>'/path/to/file/on/ disk.png')); On Aug 1, 11:35 am, mikey wrote: > Hello, I'm trying to allow users of my webs

[twitter-dev] Re: Whoa There! - Users don't really know whats going on.

2009-07-28 Thread jmathai
I wouldn't mind providing an error callback url which Twitter posts error messages to. Asking users to report a message back to the application owner is only great in theory. Here are my $.02. * Message should include the application which made the invalid request * It doesn't really need to

[twitter-dev] Re: OAUTH: Basic Auth is simpler/more reliable/more secure/better received than OAuth!?

2009-07-28 Thread jmathai
Funny, I posted about our high success rate (95% of all users) with OAuth. I'm trying to get a feel for if we're fortunate, have a good flow or everyone has the same rates. http://groups.google.com/group/twitter-development-talk/browse_thread/thread/da46cd261fa13bca?hl=en On Jul 28, 2:13 pm, Ami

[twitter-dev] Re: Stats on what % of users complete the oauth flow

2009-07-28 Thread jmathai
age from the number of > people who click on "access via OAuth" (or whatever) and then "Allow" > the authorization?  Or do you mean 95% of the unauthenticated who > visit your particular page authenticate via OAuth? > > On Jul 28, 1:08 pm, jmathai wrote: > &g

[twitter-dev] Stats on what % of users complete the oauth flow

2009-07-28 Thread jmathai
I was surprised to find out that 95% of our users (sample set of a couple hundred) complete the oauth flow and approve access to at least one twitter account. What experiences have other developers had in relation to this? More information: http://publicitweet.wordpress.com/2009/07/28/95-of-pub

[twitter-dev] Re: error with simple xml load file

2009-07-27 Thread jmathai
JDG is probably correct. $ch = curl_init('http://search.twitter.com/search.atom?q=Google'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); $sXml = simplexml_load_string($result); var_dump($sXml); On Jul 27, 4:45 pm, oscarva wrote: > Please help :( > > On 25 jul, 01:05, o

[twitter-dev] Re: Getting followers list with OAuth integration

2009-07-23 Thread jmathai
Are you 100% positive that your oauth headers are correct? http://apiwiki.twitter.com/HTTP-Response-Codes-and-Errors Which library are you using? On Jul 23, 1:47 am, dhaval wrote: > Hey all > > I have integrated OAuth into my app. Now I want to get the follower > lists usinghttp://twitter.com/s

[twitter-dev] Re: API limit confusion

2009-07-23 Thread jmathai
> In other words, you have a web app running on a single server with a > single IP. You make authenticated requests using each user's account. > If your IP is whitelisted, the calls go towards your 20k limit, if it > is not whitelisted, it goes against the current 150 limit for the > respective ac

[twitter-dev] Re: Twitter user Id

2009-07-21 Thread jmathai
Depends on how many users sign up for twitter. You should be plenty safe with 32 bit signed integer. On Jul 20, 2:20 pm, mattlf wrote: > Hi > What is the size of a Twitter user Id ? > Thank you

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread jmathai
> > Lastly, I don't feel that I, or my App, have rights to access Twitter's > > API.  It's their system, my access is a privilege. > > Well said. I believe the original intent was to state that while it's a privilege there have to be some agreed upon policies going both ways. The TOS works for T

[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread jmathai
> Lastly, I don't feel that I, or my App, have rights to access Twitter's > API. It's their system, my access is a privilege. They must in order for any app of significant size to exist. To reiterate others in this thread, Twitter does a great job. I think the alliance is a bit unrealistic (th

[twitter-dev] Re: direct messaging limits and best practices for individual services?

2009-07-17 Thread jmathai
Both of these are enforced: 250 / hour 1000 / day On Jul 16, 11:52 am, Bjoern wrote: > On Jul 16, 5:32 pm, jmathai wrote: > > > If you're sending DMs then you should be limited to 1000 DMs / user / > > day or 100 / user / hour.  I run into the limit issue as well but fo

[twitter-dev] Re: Is the rate limiting on IP or User a/c

2009-07-16 Thread jmathai
GET calls are IP based (yours, not the client's) and count against the rate limit generally mentioned. On Jul 15, 8:56 pm, LEE wrote: > Hi All, > > I would like to ask, the default rate limit for calls to the REST API > is 150 requests per hour, is the rate limiting on IP (client) or on > User A

[twitter-dev] Re: direct messaging limits and best practices for individual services?

2009-07-16 Thread jmathai
If you're sending DMs then you should be limited to 1000 DMs / user / day or 100 / user / hour. I run into the limit issue as well but for a game that seems ample, no? DMs won't count against your IP address, they count against the user. Also, you could request whitelisting. On Jul 16, 7:48 am,

[twitter-dev] Re: Rules About Making Money

2009-07-15 Thread jmathai
On Jul 15, 2:54 pm, Doug Williams wrote: > Even then, we reach out and attempt to work > with the developer before taking any action. That's delightful to know. Seriously :). Working with APIs is often a pain but Twitter's managed to create a pretty good ecosystem for developers by providing s

[twitter-dev] Re: How to get oauth_token and oauth_token_secret for users without going to tweet.com for Deny/Allow process

2009-06-12 Thread jmathai
The display source is a sub-feature of OAuth. In order to get it you have to adhere to the OAuth flow which requires the steps you want to bypass. In short, you want basic auth to display your source name for updates. Not possible. On Jun 12, 9:06 am, Pushpa wrote: > Hi > > I am having code t

[twitter-dev] uploading pngs not working but jpegs do

2009-06-10 Thread jmathai
Using the same code to upload photos I get a 200 response code for both png and jpeg files. The png however does not seem to get saved. It works with basic auth but not with OAuth. Anyone else run into this issue?

[twitter-dev] Re: Image upload added to PHP OAuth library - need testers

2009-06-09 Thread jmathai
Link would be nice: http://github.com/jmathai/twitter-async/tree/multipart On Jun 9, 1:02 pm, jmathai wrote: > I added multipart image upload support to EpiTwitter.  It's in a > multipart branch at the moment and am looking for others to test it > out before merging into master.  

[twitter-dev] Image upload added to PHP OAuth library - need testers

2009-06-09 Thread jmathai
I added multipart image upload support to EpiTwitter. It's in a multipart branch at the moment and am looking for others to test it out before merging into master. Let me know if you manage to test it out and whether or not it works for you. I haven't updated any docs but here is the usage. $t

[twitter-dev] Re: How's SuperChirp managing to work around DM limits

2009-06-08 Thread jmathai
. Looking at the @SocialChirp account they are still > a relatively new application and have likely not run into the messaging > limits you are thinking of. > > Thanks, > Doug > > On Mon, Jun 8, 2009 at 4:37 PM, jmathai wrote: > > > The post limits make it nearly impossible

[twitter-dev] How's SuperChirp managing to work around DM limits

2009-06-08 Thread jmathai
The post limits make it nearly impossible to send messages to a large follower group. SuperChirp recently launched and I was wondering if they have any special arrangements with Twitter to do so. Just looking for some transparency on this. I'm spending a lot of time building out an application

[twitter-dev] Re: Debug mode?

2009-06-04 Thread jmathai
Similar to Tim's suggestion, I'd also check out http://www.hueniverse.com/hueniverse/2008/10/beginners-gui-1.html ... shows step by step conversion values which you can use to pinpoint where your library might be having problems. On Jun 3, 10:27 pm, Tim wrote: > Maybe this OAuth Explorer would h

[twitter-dev] Re: Regarding Twitter/OAuth PHP libraries constructors

2009-06-03 Thread jmathai
Would isAuthenticated just check if the token/secret are set? I had assumed (perhaps incorrectly) that the object would be instantiated at a point where you have the required credentials. Checking to see if you have already set the token/secret on an object would be a trivial addition, but do yo

[twitter-dev] Re: Incorrect Rate Limited Response Code

2009-06-03 Thread jmathai
isting affects GET requests. Update limits affect POST requests. > Update limits are applied on a per-user basis regardless of whitelisting > status. I will update that doc to make this clear. > Thanks, > Doug > > On Wed, Jun 3, 2009 at 11:38 AM, jmathai wrote: > > > Thanks for

[twitter-dev] Re: DM limit for whitelisted app?

2009-06-03 Thread jmathai
Same question, see 3rd comment here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/b53550be7149c81a/6f5166547c3dbec6?hl=en#6f5166547c3dbec6 On Jun 3, 11:47 am, Yu-Shan Fung wrote: > Hi all, > > Is there a new limit on the ability for a whitelisted app to send out D

[twitter-dev] Re: Incorrect Rate Limited Response Code

2009-06-03 Thread jmathai
ve updated the friendships_create, direct_messages/new, and > statuses/update method documentation to mention that we throw a 403 in this > case. > Thanks, > Doug > Twitter API Support > > On Tue, Jun 2, 2009 at 8:36 PM, jmathai wrote: > > > Working within the rate l

[twitter-dev] Incorrect Rate Limited Response Code

2009-06-02 Thread jmathai
Working within the rate limits is a really big pain in the tail :). Had to get that off my chest. The issue I'm seeing is that I'm getting the following response with a 403 code. {"request":"\/direct_messages\/new.json","error":"There was an error sending your message: You can't send direct mes

[twitter-dev] Find out how many direct messages a user has remaining

2009-05-30 Thread jmathai
Has there been any consideration to exposing the # of direct messages remaining for a user via an authenticated call?

[twitter-dev] Geographical distribution / latency of api servers

2009-05-29 Thread jmathai
What's the geographical distribution of the api servers? And, are requests routed to the nearest farm/colo? I'm asking because I have a VPS in New Jersey and would move it to the west coast if that's where all the API calls are being made.

[twitter-dev] Re: Whitelisted but being rate limited?

2009-05-27 Thread jmathai
@wirah sent me: http://apiwiki.twitter.com/FAQ#IkeephittingtheratelimitHowdoIgetmorerequestsperhour On May 27, 9:06 am, jmathai wrote: > Ok...what exactly is that so we can program around it.  I haven't seen > it in my searching. > > On May 27, 9:01 am, Matt Sanford wrot

[twitter-dev] Re: Whitelisted but being rate limited?

2009-05-27 Thread jmathai
message limit for   > whitelisted accounts. > > Thanks; >   – Matt Sanford / @mzsanford >       Twitter Dev > > On May 27, 2009, at 8:56 AM, jmathai wrote: > > > > > This morning an app of ours was rate limited when sending direct > > messages.  Here is the res

[twitter-dev] Whitelisted but being rate limited?

2009-05-27 Thread jmathai
This morning an app of ours was rate limited when sending direct messages. Here is the response we get from the API: {"request":"/direct_messages/new.json","error":"There was an error sending your message: We know you have a lot to say, but you can only send so many direct messages per day. (clic

[twitter-dev] Re: To get User email id as given in the User Profile

2009-05-25 Thread jmathai
Don't hold your breath for that one :) On May 25, 6:59 am, "sravs.." wrote: > hi, > > I am a new user. can anyone tell me is there any way to get the > email id of the user once the user has given access to a consumer > application via oauth > > This is really urgent... > > Sravanthi

  1   2   >