[twitter-dev] Re: Oauth Echo and Drupal

2010-06-21 Thread Tim Millwood
trying to do something else? Taylor On Sat, Jun 19, 2010 at 12:40 PM, Tim Millwood t...@millwoodonline.co.ukwrote: So... I now have a test app which is sending oAuth Echo request successfully to Twitpic. If I change the URL to my web app I get a 401 error back from Twitter, so

[twitter-dev] Re: Oauth Echo and Drupal

2010-06-21 Thread Tim Millwood
the authorization header you are using and how you've defined the OAuth Echo headers? Your signature base string for the same? Taylor On Mon, Jun 21, 2010 at 8:06 AM, Tim Millwood t...@millwoodonline.co.ukwrote: I am trying to do something else. I am not trying post to twitpic, I am

[twitter-dev] Re: Oauth Echo and Drupal

2010-06-21 Thread Tim Millwood
Tried using Curl instead of drupal_http_request and got the following error. error setting certificate verify locations:\n CAfile: \/etc\/ssl\/ certs\/ca-certificates.crt\n CApath: none\n Not sure what that means On Jun 21, 4:40 pm, Tim Millwood t...@millwoodonline.co.uk wrote: I have a test

[twitter-dev] Re: Oauth Echo and Drupal

2010-06-21 Thread Tim Millwood
wrote: Hi Tim, That sounds like your machine might be having some issues connecting via SSL. Are you able to use Curl for any other SSL-based sites? Taylor On Mon, Jun 21, 2010 at 11:57 AM, Tim Millwood t...@millwoodonline.co.ukwrote: Tried using Curl instead

[twitter-dev] Re: Oauth Echo and Drupal

2010-06-21 Thread Tim Millwood
Removed curl_setopt($curl, CURLOPT_POST, 1); and it worked. Yay! http://drippic.com will be oAuth echo compatible within the next 24 hours. On Jun 21, 8:24 pm, Tim Millwood t...@millwoodonline.co.uk wrote: curl_setopt($link, CURLOPT_SSL_VERIFYPEER, FALSE); This worked! Now I get the error

[twitter-dev] Re: Oauth Echo and Drupal

2010-06-19 Thread Tim Millwood
-- TwitPic, yFrog, etc. are only just one possibility of the things you can do with OAuth Echo. I edited up a good example in simple PHP of using OAuth Echo against TwitPic the other day:http://pastie.org/pastes/1005387 Taylor On Thu, Jun 17, 2010 at 1:40 AM, Tim Millwood t

[twitter-dev] Oauth Echo and Drupal

2010-06-17 Thread Tim Millwood
I'm trying to get oAuth Echo working with http://drippic.com My API url is http://drippic.com/drippic2/upload if you want to give it a try. Here is my code. $sp = $_SERVER['HTTP_X_AUTH_SERVICE_PROVIDER']; $auth_cred = $_SERVER['HTTP_X_VERIFY_CREDENTIALS_AUTHORIZATION']; $response =

[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Tim Millwood
I have a similar system, but can't find the access token. Am I write I need this token when making a write request to Twitter? On Apr 21, 3:24 am, Abraham Williams 4bra...@gmail.com wrote: I just tried it and it worked an created a valid access token. You might be having cookie issues or rate

[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Tim Millwood
with them. Abraham On Wed, Apr 21, 2010 at 07:57, Tim Millwood t...@millwoodonline.co.ukwrote: I have a similar system, but can't find the access token. Am I write I need this token when making a write request to Twitter? On Apr 21, 3:24 am, Abraham Williams 4bra...@gmail.com wrote: I just

Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-21 Thread Tim Millwood
ah, ok. What would be the best way to integrate oauth with Drupal? On 21 Apr 2010, at 17:50, Abraham Williams wrote: @Anywhere access tokens are short lived so you could but only for a few hours before they expire. Abraham On Wed, Apr 21, 2010 at 08:54, Tim Millwood t