What is currently the best way implement facebook(friendlist,sharing,…) into apps?
If someone has done that for android or html5 i would love to hear from you!
Android:
I am trying to use extension-facebook.
But it ends in a java error, saying i should use 1.7 instead of 1.6. Q:Where can i tell gradle?! to use 1.7 instead of 1.6?
LoginManager.java:356: error: diamond operator is not supported in -source 1.6
this.pendingLoggingExtras = new HashMap<>();
^
(use -source 7 or higher to enable diamond operator)
26 errors
:deps:facebook-sdk:compileReleaseJavaWithJavac FAILED
HTML5
I was trying untyped __js__(...) which worked in Chrome but bugged in Firefox. Q: Still, i was wondering, if i make a call with js and get a string as a reply,
How can i access that string from haxe at runtime? Or am i stuck in a js-bubble?! Q2: Are there better ways do it for html5?
EDIT: Android: extension-facebook is working! HTML5: untyped js works impressively good!
Use lime config, do you have a custom Java JDK path set? If so, edit your ~/.lime/config.xml file and try setting it to Java 7 or 8, or, maybe there’s something in the Gradle JSON we generate for your app that needs to be changed (the source files are found in “lime/templates/android/template”)