You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Simon Briche <sb...@free.fr> on 2013/11/08 11:20:12 UTC
Re: Facebook Support in Flex
Hi,
Thanks for your solution, it works well for me (tested with Samsung Nexus S
/ Android 4.1.2 / AIR 3.9). However I've made some changes to your code :
1. in function handleLocationChange :
loginCallback(FacebookDataUtils.getURLVariables(location), null);
instead of
loginCallback(true, null);
so I can retreive the access_token
2. public static var LOGIN_SUCCESS_URL_MOBILE:String
public static var LOGIN_SUCCESS_SECUREURL_MOBILE:String
instead of
public static var LOGIN_URL_MOBILE:String
public static var LOGIN_SECUREURL_MOBILE:String
3. If you're targeting a version of flash player > 11, don't forget to use
the native JSON.stringify() and JSON.parse() instead of the
com.adobe.serialization.json.JSON.encode() and
com.adobe.serialization.json.JSON.decode() version. You have to make the
update in several classes of the source API.
++
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Facebook-Support-in-Flex-facebook-actionscript-api-broken-Facebooks-October-2013-Breaking-Changes-tp2921p3635.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Facebook Support in Flex
Posted by derChris <ch...@goal-games.de>.
Actually we went to the GoViral - ANE from Milkman Games. It works pretty
well on iOs and Android, uses the official SDKs, is much more comfortable
for programmer and user... but costs a few $... But its worth ...
See http://www.milkmangames.com/blog/tools/
Adobe (written by Alex from Milkman) has some tutorials how to use it
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Facebook-Support-in-Flex-facebook-actionscript-api-broken-Facebooks-October-2013-Breaking-Changes-tp2921p3638.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.