I've setup an app in Yammer and added Javascript origins but still can't make xhr request
XMLHttpRequest cannot load https://www.yammer.com/platform/login_status.json?client_id=123456789&_=123456789. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://example.com.dev:9000' is therefore not allowed access.
Any suggestion? I'm working from a local machine and having example.com.dev to resolve as localhost.
I think the answer is in the domain name.
Use api.yammer.com instead of www.yammer.com
See for similar problem also the answer from Marco here
You can do 2 things:
That's all you can do.
In addition to changing the URL to be api.yammer.com be sure that you're not including any extra headers.
For example, I was accidentally including an extra header 'X-Foo-Id' and that was tripping up Yammer.