redirect - webview is not redirecting anymore (Facebook API in webos) -


i trying implement possibility post on facebook wall app. http://developers.facebook.com/docs/authentication/ web application section.

it used work. did open following url in webview

"https://graph.facebook.com/oauth/authorize?client_id=123456789123456&redirect_uri=http://www.mydomain.com&scope=publish_stream&display=wap"

and after user typed credentials , gives me neede permissions, webview redirected redirect uri (www.mydomain.com) including variable parsed code needed.

but of sudden not redirected redirect_uri anymore. redirected blank facebook page (http://m.facebook.com/connect/uiserver.php)

it work on pc browser , in webos browser, not in webview.

i wrote complete new application nothing webiveiw in it. main-assistant.js looks this.

    function mainassistant(argfrompusher) { }  mainassistant.prototype = {    setup: function() {       ares.setupsceneassistant(this);       console.log("setup");       //this.controller.get("facetimes").mojo.clearcookies();       //this.controller.get("facetimes").mojo.clearcache();       this.controller.get("facetimes").mojo.openurl("https://graph.facebook.com/oauth/authorize?client_id=123456789&redirect_uri=http://www.mydomain.com/callback&scope=publish_stream&display=touch");       this.controller.listen("facetimes",mojo.event.webviewtitleurlchanged,this.titlechanged.bind(this));    },    cleanup: function() {       ares.cleanupsceneassistant(this);    },    titlechanged: function(event){       console.log(event.url + " das ist die url");    } }; 

any ideas?

thanks in advance.

blockquote

i wrote entire sdk facebook api example on blog

facebook connect webos

it's open sourced, guide give github address


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -