Hi All,
So, I'm extending a social media class that I have (that works with Twitter, Tumblr, Posterous and Bit.ly already) to work with MySpace. I've gotten up to the point where I can request temporary credentials, and then redirect to the authorization url. The problem is that the authorization url keeps returning an XML response with the error Rogue request trapped
.
Now, I have no idea what that means, but I get the feeling it's being butt-hurt about the referring url. Since I was testing in localhost, I decided to prematurely publish the website to the domain, but it didn't do anything, still getting the same error.
Somehow, I have a feeling that MySpace is not implementing their own system right because when you signup your application you have to fill in the "originating url", which could be the problem. I think they are literally looking for the string entered in that field and try to match it to the referrer even though it's the exact same domain, just a different directory...
I hated MySpace before, but now I hate it even more for implementing and already difficult protocol (OAuth) even more stupidly than it's needed.
Anyway, I would appreciate some help on this by anyone willing.
Thanks in advance!
UPDATE:
Solution is below, but man how I wish I had a blog so I could really say what I want to say on the topic. I'm so angry because of MySpace right now...