I am having some slight problem with Twitter Oauth and fsock. The reason I am using fsock, is to cater people that do not have curl installed.
Yani burada benim sorunum gider. Ben twitter durumunu güncelleştirmek için fsock kullandığınızda ancak erişim belirteci almak için fsock kullanmayı başardı. Bir İç Hata 500 ile beni döndürür.
İşte ben sonrası budur:
POST https://api.twitter.com/1/statuses/update.json HTTP/1.1
Host: api.twitter.com
Authorization: OAuth oauth_consumer_key=qArHWfcnikadIzP2k6EVg&oauth_nonce=bf07179df00bee93a9537ec12a1d7be6&oauth_signature=Ugs%2FGAPrtFIrRqhGQ9KrkrEYPVI%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1283772251&oauth_token=177905108-JwUzEOE1ekGUbQieMBtB4P4L11WrEej6izvHQbJA&oauth_version=1.0&status=Published%20a%20new%20blog%20entry%20title%3AA%20Look%20Back%20%28and%20Forward%29%20at%20the%20Latest%20Tech%20Gadgets%20under%20category%3ATechnology
User-Agent: TwitterOAuth v0.2.0-beta2
Content-type: application/x-www-form-urlencoded
Connection: Close
Ve bu twitter bana cevap budur:
HTTP/1.1 500 Internal Server Error
Date: Mon, 06 Sep 2010 11:24:06 GMT
Server: hi
Status: 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Content-Length: 4659
Cache-Control: no-cache, max-age=300
Set-Cookie: k=110.159.136.116.1283772246202732; path=/; expires=Mon, 13-Sep-10 11:24:06 GMT; domain=.twitter.com
Set-Cookie: guest_id=128377224620512308; path=/; expires=Wed, 06 Oct 2010 11:24:06 GMT
Set-Cookie: _twitter_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7AA%253D%253D--1164b91ac812d853b877e93ddb612b7471bebc74; domain=.twitter.com; path=/
Expires: Mon, 06 Sep 2010 11:29:06 GMT
Vary: Accept-Encoding
Connection: close
Sizin Yardım büyük takdir edilecektir.