401 on tweeting URL


#1

I am not able to post URLs in tweets. The regular tweets(with out any URL) get posted fine. But when I try to post a URL, I get a 401 error. I even tried shortening the URL using Bitly. But even a bitly URL results in a 401.

Please help.


#2

It’s likely due to not encoding the URL correctly/validly for either a querystring, POST body, or OAuth signature basestring. Make sure you’re encoding correctly.


#3

I’ve tried the following types of encoding. I am not sure what else is wrong.

status=Hello+%40AceTest2Demo+We+might+be+able+to+help.+Why+not+take+our+quiz+to+find+out+exactly+what+sort+of+driver+you+are%3F+http%3A%2F%2Ftestdemo.dev.cs15.force.com%2FAceQ%3Fid%3D00Q7810000Az1

status=Hello%20%40AceTest2Demo%20We%20might%20be%20able%20to%20help%2E%20Why%20not%20take%20our%20quiz%20to%20find%20out%20exactly%20what%20sort%20of%20driver%20you%20are%3F%20http%3A%2F%2Ftestdemo%2Edev%2Ecs15%2Eforce%2Ecom%2FAceQ%3Fid%3D00Q7810000Az1

status%3DHello+%40AceTest2Demo+We+might+be+able+to+help.+Why+not+take+our+quiz+to+find+out+exactly+what+sort+of+driver+you+are%3F+http%3A%2F%2Ftestdemo.dev.cs15.force.com%2FAceQ%3Fid%3D00Q7810000Az1

status%3DHello%20%40AceTest2Demo%20We%20might%20be%20able%20to%20help%2E%20Why%20not%20take%20our%20quiz%20to%20find%20out%20exactly%20what%20sort%20of%20driver%20you%20are%3F%20http%3A%2F%2Ftestdemo%2Edev%2Ecs15%2Eforce%2Ecom%2FAceQ%3Fid%3D00Q7810000Az1

status=Hello+%40AceTest2Demo+We+might+be+able+to+help.+Why+not+take+our+quiz+to+find+out+exactly+what+sort+of+driver+you+are%3F+http%3A%2F%2Fbit.ly%2F18xL93Y

status=Hello%20%40AceTest2Demo%20We%20might%20be%20able%20to%20help%2E%20Why%20not%20take%20our%20quiz%20to%20find%20out%20exactly%20what%20sort%20of%20driver%20you%20are%3F%20http%3A%2F%2Fbit%2Ely%2F18xL93Y

status%3DHello+%40AceTest2Demo+We+might+be+able+to+help.+Why+not+take+our+quiz+to+find+out+exactly+what+sort+of+driver+you+are%3F+http%3A%2F%2Fbit.ly%2F18xL93Y

status%3DHello%20%40AceTest2Demo%20We%20might%20be%20able%20to%20help%2E%20Why%20not%20take%20our%20quiz%20to%20find%20out%20exactly%20what%20sort%20of%20driver%20you%20are%3F%20http%3A%2F%2Fbit%2Ely%2F18xL93Y


#4

Anyone…?