- Points
- 236
- Digest
- 0
- R.P.
- 30
- Joined
- 2011-9-10
- Last visit
- 2013-2-21
- Posts
- 45
 
|
Last edited by bosko on 2012-7-23 00:44
Hi!
I'm using Game engine v1.5.2.
I'm trying to implement facebook feature to my game but it doesn't work:
function post2facebook() {
var d = dict([["name","Papaya"],["caption","test"],
["description", "test"],
["picture","http://xxxx"]]);
facebook(FACEBOOK_POST, d, onFacebookPosted);
}
function onFacebookPosted(ret, response) {
trace("ret", ret);
trace("response", response);
if (ret == 0) {
post2facebook();
}
}
post2facebook();
When this is called, all I see is redirect to a empty facebook page for a second and then redirect back to game. But nothing happens. No post on my facebook profile. No log message in console with ret and response. So I guess onFacebookPosted was never called... What could be the problem here?
Thanks.
Bosko
|
|