[twitter-dev] Re: Failed to validate oauth signature or token on status update post?

2009-04-11 Thread jmathai
I am having this problem as well. GETs work fine but POSTs do not. I don't have any Authorization headers. On Apr 10, 10:37 am, Chen Jie chenyue...@gmail.com wrote: I got a workaround for POST, I removed Authorization info in Header, then the POST request passed. On Apr 10, 8:50 pm, max

[twitter-dev] Re: Failed to validate oauth signature or token on status update post?

2009-04-11 Thread jmathai
this to a POST for the /status/update method. Calling status/update with a GET got me the 401 Authorization failed. This was a pretty easy fix, once you know where to look in your library. On Apr 11, 5:07 pm, jmathai jmat...@gmail.com wrote: I am having this problem as well.  GETs work fine

[twitter-dev] Re: Send status update with OAuth/PHP/cURL

2009-04-22 Thread jmathai
You can also try a library I put up on github as well. Supports all endpoints and asynchronous calls. Tutorial: http://www.jaisenmathai.com/blog/2009/03/31/how-to-quickly-integrate-with-twitters-oauth-api-using-php/ Documentation: http://wiki.github.com/jmathai/epicode/epitwitter On Apr 21

[twitter-dev] Re: Totally baffling issue with Opera and OAuth

2009-04-26 Thread jmathai
I can confirm the same behavior affecting ONLY opera. I scp'ed the files to a server with public dns entry...it worked fine there. I see an entry in my access log on the page with the authorization link. After clicking approve, I don't see anything in my access or error logs. On Apr 25, 9:35 

[twitter-dev] Sign in with Twitter added to EpiTwitter (PHP/OAuth)

2009-05-01 Thread jmathai
Did a quick write up on using PHP to sign in to Twitter. Working Example: http://www.jaisenmathai.com/sign_in_with_twitter/ Blog Post: http://www.jaisenmathai.com/blog/2009/04/30/letting-your-users-sign-in-with-twitter-with-oauth/ Code/Documentation: http://wiki.github.com/jmathai/epicode

[twitter-dev] Re: Basic Twitter / OAuth questions (.NET)

2009-05-01 Thread jmathai
To get the access token you need to call /oauth/access_token. That'll give you back tokens you can save and reuse. This is a good flow diagram: http://oauth.net/core/diagram.png On May 1, 4:46 am, Richard L richard.lockw...@gmail.com wrote: Hi, I've looked through the FAQ, archives and

[twitter-dev] Handling the OAuth flow when the user clicks Deny / Decline

2009-05-05 Thread jmathai
When the user clicks decline the flow is abruptly disrupted. I didn't see anything in the OAuth spec that specifies how a decline is handled. It would be nice if there was a decline url that the application could specify which the user is redirected to.

[twitter-dev] Re: Handling the OAuth flow when the user clicks Deny / Decline

2009-05-06 Thread jmathai
/twitter-api/issues/detail?id=545 Thanks, Doug -- Doug Williams Twitter Platform Supporthttp://twitter.com/dougw On Tue, May 5, 2009 at 8:27 AM, jmathai jmat...@gmail.com wrote: When the user clicks decline the flow is abruptly disrupted.  I didn't see anything in the OAuth spec

[twitter-dev] Re: oauth just to post status

2009-05-14 Thread jmathai
Create an application (http://twitter.com/oauth) and then post using your consumer key/secret. Blog posts if needed: http://www.jaisenmathai.com/blog/2009/03/31/how-to-quickly-integrate-with-twitters-oauth-api-using-php/

[twitter-dev] Re: Invalid token authentication failed when reply_to_status_id set

2009-05-22 Thread jmathai
This is being tracked on github and twitter-api. http://github.com/jmathai/twitter-async/issues#issue/6 http://code.google.com/p/twitter-api/issues/detail?id=595 I'm unable to replicate the behavior using the exact code provided. Unsure if it's a bug in my library or something else. On May 21

[twitter-dev] Re: Paging for friends/ids

2009-05-25 Thread jmathai
This is reported as a bug here: http://code.google.com/p/twitter-api/issues/detail?id=613 Definitely is a bug if their docs are correct. statuses/followers works as expected using the page parameter. On May 22, 3:09 pm, elversatile elversat...@gmail.com wrote: It seems that paging is not

[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.. sravanthi.su...@gmail.com 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...

[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 jmat...@gmail.com 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 m

[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] 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 messages

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

2009-06-03 Thread jmathai
, 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 jmat...@gmail.com wrote: Working within the rate limits is a really big pain in the tail :). Had to get that off my chest.  The issue

[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 ambivale...@gmail.com wrote: Hi all, Is there a new limit on the ability for a

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

2009-06-03 Thread jmathai
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 jmat...@gmail.com wrote: Thanks for the response Doug

[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

[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 timot...@gmail.com wrote: Maybe this

[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: How's SuperChirp managing to work around DM limits

2009-06-08 Thread jmathai
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 jmat...@gmail.com wrote: The post limits make it nearly impossible to send messages to a large

[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.

[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 jmat...@gmail.com 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] 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: Rules About Making Money

2009-07-15 Thread jmathai
On Jul 15, 2:54 pm, Doug Williams d...@twitter.com 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

[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 engho@gmail.com 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

[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 bjoer...@googlemail.com wrote: On Jul 16, 5:32 pm, jmathai jmat...@gmail.com 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

[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

[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

[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 matth...@strateer.com wrote: Hi What is the size of a Twitter user Id ? Thank you

[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

[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 dhaval.parik...@gmail.com wrote: Hey all I have integrated OAuth into my app. Now I want to get the follower lists

[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 osca...@gmail.com wrote: Please help :( On

[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:

[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,

[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

[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 mikexxx...@gmail.com wrote: Hello, I'm trying to

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

2009-08-17 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] 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?

[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 matthew.s.kov...@gmail.com wrote: I'm developing an application and I need to find out how the DM limit

[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 david.dellan...@gmail.com wrote: Has anyone updated

[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 termana...@gmail.com wrote: Im looking for a way to sign in while getting the data

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

2009-09-01 Thread jmathai
manually 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: Anyone updated jmathai OAuth library for 301s?

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

[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

[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 ch...@clearmedia.com.au wrote: Hi everyone, Just wanting to know if this function is ok to connect and pull down twitter statuses. It works by the way! ?php function get_twitter_feed($screen_name){                         $xml=new

[twitter-dev] Re: Twitter IP Whitelisting

2009-09-02 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 piratea...@gmail.com wrote:

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

2009-09-02 Thread jmathai
false On Sep 2, 6:50 pm, Dante Soiu dsoiual...@gmail.com wrote: And not computer language, Dante Soiu

[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: Are you seeing garbled JSON or XML responses?

2009-09-18 Thread jmathai
,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 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/1999/REC-html401-19991224

[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

[twitter-dev] Re: using twitter api problem

2009-09-22 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 canji.er...@gmail.com wrote: I am using twitter api for posting new posts from my site

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

2009-09-23 Thread jmathai
Do You understand the difference between a Twitter website tool that can make 150 API calls an hour on behalf of your single Twitter account and a dedicated Twitter .Net application running on your computer that can make 20,000 API calls an hour across multiple accounts? Isn't exactly accurate.

[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_*

[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 that

[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

[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
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: 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 c...@twitter.com wrote: Hello, On Mon, Oct 5, 2009 at 8:53 PM, jmathai jmat...@gmail.com 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] 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 fah...@gmail.com wrote: I have tested using three different libraries - one is MPOAuth, the other one is the PHP library linked to via the Twitter API

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

2009-10-06 Thread jmathai
On Oct 6, 11:06 am, Jesse Stay jesses...@gmail.com 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

[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 ryanalford...@gmail.com 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

[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

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

2009-10-14 Thread jmathai
: 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. On Oct 7, 6:59 pm, jmathai jmat...@gmail.com wrote: So a user comes to the site and I need

[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

[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 jmat...@gmail.com wrote: I'm curious why you're using followers/ids and then users/show for each id?  I tried using that and using

[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,

[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

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

2009-11-02 Thread jmathai
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, Michael. On 11/2/09 9:51 PM, jmathai jmat

[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: 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 m...@46bit.com wrote: Thanks to both of you, having taken a better look at epitwitter's code I'd have to agree that's it's

[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 mogul...@gmail.com wrote: Andrew, Great idea...should be easy enough...just display all the lists and have an opt in

[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

[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 gauravshah...@gmail.com wrote: After running the example.php i am getting following errors. *Warning*: Unexpected character in input: '\' (ASCII=92) state=1

[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 azhan...@gmail.com wrote: Hello, Im a web developer wanted to add a twitter feed on my web. So that my

[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 stevie@gmail.com wrote: Hi All,           Update profile background using twitter api is working

[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 stevie@gmail.com wrote: Hi All,           Update profile background using twitter api is working fine with username and

[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

[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 avarunkumarsi...@gmail.com wrote: I want to track twitter name

[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 jbasur...@gmail.com wrote: Hello there! I'm using a PHP Twitter OAuth library (twitter.abrah.am), and it works

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

[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 dewaldpub...@gmail.com 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

[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 luo...@luomat.net 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

[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 and...@badera.us wrote: Read up on the concept of mocking. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask

[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 kapil.sa...@gmail.com wrote: Hello

[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; echo \n; var_dump($x

[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 matthew.dai...@ientryinc.com wrote: Sorry,

[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

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

2010-05-10 Thread jmathai
, 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=andrew%20badera On Thu, Mar 18, 2010 at 6:31 PM, jmathai jmat...@gmail.com wrote: On Mar 18, 2:14 pm, TJ Luoma luo

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

2010-06-05 Thread jmathai
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 working

[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

[twitter-dev] Re: Site streams and privacy

2010-08-30 Thread jmathai
Twitter, Inc. On Mon, Aug 30, 2010 at 12:05 PM, jmathai jmat...@gmail.com 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 direct messages would be streamed from anyone that added your application

[twitter-dev] Re: Site streams and privacy

2010-08-30 Thread jmathai
On Aug 30, 12:59 pm, M. Edward (Ed) Borasky zn...@borasky- research.net 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  

[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 mirza.ganba...@gmail.com wrote: hello my name is mirza. im new in develop twitter application. i think i have same problem. i want to get user

[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/#sequence (http

[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 emai...@sharedlog.com wrote: Hello! I know Twitter published some statistics on how users generally use Twitter. I am

[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 j...@twitter.com wrote: Every search engine, social network, blogging

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

2010-12-02 Thread jmathai
, instead of asking the Twitter API team to accept your broken OAuth implementations. :-) Tom On 12/2/10 11:42 PM, LeeS - @semel wrote: I am using this library on all my sites: https://github.com/jmathai/twitter-async, all of which are now broken and fail to let anyone

  1   2   >