New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook integration broken #813
Comments
Tracked down the line that causes trouble There is a problem with JniUtils.cpp on line 93. Apparently it crashes when trying to Any thoughts? |
It's one of those it works on my machine things. I haven't developed moai in a couple of months especially since some if the larger changes went through. Something could have changed that broke that code. The error seems to suggest changing The format of the class name to using slashes in the package instead of dots. You could try that. If I have a chance I'll take a look. I used this code in my own app which used Facebook graph requests with parameters to make posts.
|
@joshua-jandyco we tried changing dots for slashes, here's the result:
|
We tried using just "Bundle" as the class name:
|
I'm still at work so I can't look into this yet. I thought I had used the jni utils for twitter integration as well. I may have even contributed a sample code using the Twitter API under samples or tests or something. Can you try that and see if it works?
|
Got it to work. I'll send a pull request later today. |
Forget that last comment. Apparently we're still using the version 1.2.2 from the facebook SDK and it has plenty of bugs. I think the easiest way will be to rewrite most of it with the new 3.6 SDK. |
Facebook integration (at least on the Android host) is broken. That is since adding parameters to the graphRequest method.
Login, logout, expiration date and the rest seem to work just fine, but graphRequest is broken.
Tested on Android 4.4.2 API 19, and 4.2.2 API 17
/cc @makotok @joshua-jandyco
The text was updated successfully, but these errors were encountered: