How do I make oauth connections when my server uses a proxy to access sites outside of the network?


The flow looks a bit like:

My Sandbox Server => Proxy Server => Twitter

I believe that the “secret” is tailored to my sandbox server, but by the time the OAuth request reaches twitter, the Proxy has changed enough headers to invalidate the signature assigned to the request. Can anyone offer pointers on how to handle this scenario?

I’ve tried using the PHP PECL OAuth extension and Matt Harris’s Twitter class ( with little success.

Thanks for any help.


How is your proxy rewriting the request? Only querystring, body parameters, the URL, and the HTTP method are included in the OAuth signature.


i just want to verified my account. may you help me?


i just want to verified my account
. may you help me?