[twitter-dev] Re: Abraham OAuth and statuses/retweet causing "Not found" error...

2010-02-18 Thread Fred Garvin
ham > > > > On Thu, Feb 18, 2010 at 08:04, Fred Garvin wrote: > > Thanks Abraham, that did the trick! > > > For anyone else with this problem here is how I formatted it: > > > $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, > > oauth_

[twitter-dev] Re: Abraham OAuth and statuses/retweet causing "Not found" error...

2010-02-18 Thread Fred Garvin
http://api.twitter.com/1/statuses/retweet.json?id=status_id > > Let me know how it goes. > Abraham > > > > On Wed, Feb 17, 2010 at 14:13, Fred Garvin wrote: > > I keep getting this result for statuses/retweet, I even hard coded the > > the status ID to be sure it was v

[twitter-dev] Abraham OAuth and statuses/retweet causing "Not found" error...

2010-02-17 Thread Fred Garvin
I keep getting this result for statuses/retweet, I even hard coded the the status ID to be sure it was valid: stdClass Object ( [request] => /1/statuses/retweet.json [error] => Not found ) 1 Here is the php I am using (yes it is a good status id): $connection = new TwitterOAuth(CONSUMER_KEY, CON

[twitter-dev] How to format quotes for status/update

2010-02-17 Thread Fred Garvin
When sending a status update through the API how should quotes be formatted? I am using $status = htmlspecialchars($status, ENT_QUOTES, 'UTF-8'); in php with no luck, single and double quotes show up on twitter escaped with a backslash. Thanks.

[twitter-dev] Re: statuses/update and quotes

2010-02-15 Thread Fred Garvin
I am still really struggling with this, I have searched everywhere and no matter what code I use I end up with a post that has escaped quotes, here is a sample: Lets see if we fixed the issue with \"quotes\", even when they are \'single\' quotes, nope no luck yet... What format will twitter accep

[twitter-dev] statuses/update and quotes

2010-02-12 Thread Fred Garvin
I have been trying to figure out how to correctly format a status update with quotes (single or double) in it for a while with no luck. The quotes always seem to end up escaped with a slash when posted to twitter. Any advice or suggestions are appreciated. Here is the PHP I'm using, the commented l