Hello,
I am developing a client application (website) which will post to Twitter on behalf of the user. But I have unfortunately run into a bit of a snag with posting Tweets that have URLs in the text. I can post plain text Tweets with out any issue, but the minute I add a parameterized URL I get a 401 unauthorized response.
So for example this Tweet would work:
We have updated our business profile! http://localhost:8005/directory/directory.cfm
But this Tweek gives a 401:
We have updated our business profile! http://localhost:8005/directory/directory.cfm?BusinessID=8
Here’s the technical details:
Environment
Windows Server 2008
IIS 7.5
Coldfusion 9
oauth_consumer_key: kmdP6acaOerqxqHUNyyBOg
oauth_nonce: MTMxODk1Njg5MA==
oauth_signature_method: HMAC-SHA1
oauth_timestamp: 1318871942
oauth_token: 284729225-ke0qzExyvr55JTrv0AstJ7LPzwbTBNoNenKu0R4b
oauth_version: 1.0
status: We’ve updated our directory information! http://localhost:8001/directory/directory.cfm?businessID=1
Base OAuth Signature String
POST&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fupdate.json&oauth_consumer_key%3DkmdP6acaOerqxqHUNyyBOg%26oauth_nonce%3DMTMxODk1Njg5MA%253D%253D%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1318871942%26oauth_token%3D284729225-ke0qzExyvr55JTrv0AstJ7LPzwbTBNoNenKu0R4b%26oauth_version%3D1.0%26status%3DWe%2527ve%2520updated%2520our%2520directory%2520information%2521%2520http%253A%252F%252Flocalhost%253A8001%252Fdirectory%252Fdirectory.cfm%253FbusinessID%253D1
Composite Key
H73LjRVAf0tDnVUuancuEKl2Jq3s1alddf8Spr3cHbE&xxxx
Signature
4oWnyke0+MUn9zTb5NOsnkea0GY=
OAuth Header
OAuth oauth_consumer_key="kmdP6acaOerqxqHUNyyBOg", oauth_nonce="MTMxODk1Njg5MA%3D%3D", oauth_signature="4oWnyke0%2BMUn9zTb5NOsnkea0GY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1318871942", oauth_token="284729225-ke0qzExyvr55JTrv0AstJ7LPzwbTBNoNenKu0R4b", oauth_version="1.0"
Do I need to do some sort of extra formatting with the parameterized URLs? Or something?