I'll echo Jason's comment; by including the Authorization header
you've exposed your password, please change it. You included the
headers from your request below, but do you by chance have the body of
the response available? Many times the error message in the body will
give us a pointer to the exact cause.
– Matt Sanford / @mzsanford
On Jul 6, 2009, at 7:53 AM, JDG wrote:
Unfortunately, I can't help you, but I do want to remind you to
change your password now, as the entire twitter dev community has it
at this point :)
On Mon, Jul 6, 2009 at 08:02, Jason Korkin <jkor...@gmail.com> wrote:
I am getting a 403 error when I attempt to send a response back to a
user who sent a direct message.
I am using Basic Authentication. Below is a verbose dump from my PHP
Any ideas what I'm doing wrong here?
Sending DM to spdyme
* About to connect() to twitter.com port 80
* Trying 188.8.131.52... * connected
* Connected to twitter.com (184.108.40.206) port 80
* Server auth using Basic with user 'stfbf'
> POST /direct_messages/new.xml HTTP/1.1
Authorization: Basic c3RmYmY6c3R1ZmZidWZm
user=spdyme&text=< HTTP/1.1 403 Forbidden
< Date: Mon, 06 Jul 2009 13:44:17 GMT
< Server: hi
< Last-Modified: Mon, 06 Jul 2009 13:44:17 GMT
< Status: 403 Forbidden
< Pragma: no-cache
< Cache-Control: no-cache, no-store, must-revalidate, pre-check=0,
post-check=0 < Content-Type: application/xml; charset=utf-8 <
Content-Length: 188 < Expires: Tue, 31 Mar 1981 05:00:00 GMT < X-
< X-Transaction: 1246887857-86063-25318
< Set-Cookie: lang=; path=/
7f3; domain=.twitter.com; path=/
< Vary: Accept-Encoding
< Connection: close
* Closing connection #0
Internets. Serious business.