Hi,
i have tried to verify my app with yammer oauth, but im unable to make callback to my server, so that user doesn't have to manually enter verification code. Manual version works fine.
My code goes:
val url = "
http://3h68.localtunnel.com/oauth_verify/"
val consumer = Consumer("??????","???????")
val h = new Http
val yammer = (:/("www.yammer.com") / "oauth").secure
val rt = h(yammer / "request_token" << callback(url) <@ consumer as_token)
i tried two options but neither of them produce callback
val authURI = (yammer / "authorize" with_token rt).to_uri
val authURI = (yammer / "authorize" << callback(url) with_token rt).to_uri
produced uri is:
https://www.yammer.com/oauth/authorize?oauth_token=8gSwtp4Des0LNl0KZs2ceAi also tried to change callback with Map("oauth_callback" -> url)
Another option i tried was to set callback inside yammer application configuration. But also no luck.
Rudolf