Click here to Skip to main content
15,902,447 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i'm trying to call the MySpace API using oAuth in c#.NET but for some reason it's always giving me a 401 error (Unauthorized). i double and triple checked my code it all seems fine and "should" work.

Can you redirect me to an example/toolkit or a working demo to download/test?
Updated 3-Jan-12 21:09pm
Ankur\m/ 3-Jan-12 9:01am    
I have not used their api but my first guess would be your credentials are incorrect. If you are encrypting them, check your encrypting technique. It is probably giving you wrong result.
Reborn123 3-Jan-12 10:02am    
You have a point there, but can you put me on the right track on how to check if the encryption is correct? i am indeed encrypting the signature after generating it. I've found this tool ( provided by MySpace to match results generated by my app and those generated by the tool. but i don't really know how to check my encryption result.

1 solution

see this link , this may helps you

Myspace Toolkit[^]
Share this answer
Reborn123 3-Jan-12 8:49am    
Thanks for the fast reply, i'm gona try it out right now from scratch based on the toolkit. I'll post back the result
Reborn123 3-Jan-12 9:53am    
this toolkit is outdated... 2008.
"In the future myspace has indicated that there will be a way to cause a user to log into a page which will then do a redirect (callback url) to a page you have hosted and that there will be a request token. It sounds simliar to the facebook authentication approach."
this is what i'm using now in 2012.

the toolkit won't work. i need to specify a consumerKey(example: hj122432g42j34hvg213j4 NOT a consumerSecretKey, and a CallBack URL.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900