tomgrill / gdx-facebook-app Goto Github PK
View Code? Open in Web Editor NEWExample libGDX application implementing the gdx-facebook extension.
Example libGDX application implementing the gdx-facebook extension.
Hi,
In android, i get FacebookApi not loaded. It works fine in IOS. What would be the problem?
Hello,
I have done all the necessary things to set up the facebook sample app but i am running into this error when i run the app and i get these messages in logcat:
Error installing gdx-facebook for Android
Did you add compile >> "de.tomgrill.gdxfacebook:gdx-facebook-android:0.3.0-SNAPSHOT" << to your gradle dependencies?
READ REQUEST: Error login: gdx-facebook not installed
I haven't changed anything from the sample app, is there something i might be missing here?
Please fix problem, I found only one invalid right user_friends http://prntscr.com/n992ub
GdxFacebookSampleApp: SIGN IN (read permissions): Error login: Used access_token is valid but new permissions need to be granted. Need GUI sign in.
Thanks for help.
In: de/tomgrill/gdxfacebook/core/GDXFacebookMultiPartRequest.java
[ERROR] Line 51: No source code is available for type java.io.FileInputStream; did you forget to inherit a required module?
[ERROR] Line 117: The method file() is undefined for the type FileHandle
[ERROR] Line 139: The method file() is undefined for the type FileHandle
Java.io is not supported by GWT, so maybe use @GwtIncompatible annotation for the loadFile method.
The second and third lines are using com.badlogic.gdx.files package - so need to get those to GWT.
In: de/tomgrill/gdxfacebook/core/utils/Utils.java
[ERROR] Line 46: No source code is available for type java.net.URL; did you forget to inherit a required module?
[ERROR] Line 72: No source code is available for type java.net.MalformedURLException; did you forget to inherit a required module?
[ERROR] Line 81: No source code is available for type java.net.URLDecoder; did you forget to inherit a required module?
URLDecoder is weird, cause I'm using URLEncoder in another part of my game, and it compiles in GWT perfectly,
2017-02-28 20:49:35.086 IOSLauncher[4133:760865] [debug] IOSApplication: iOS version: 10.2
2017-02-28 20:49:35.097 IOSLauncher[4133:760865] [debug] IOSApplication: Running in 64-bit mode
2017-02-28 20:49:35.103 IOSLauncher[4133:760865] [debug] IOSApplication: scale: 2.0
2017-02-28 20:49:35.141 IOSLauncher[4133:760865] [debug] IOSApplication: Status bar is not visible
2017-02-28 20:49:35.143 IOSLauncher[4133:760865] [debug] IOSApplication: Total computed bounds are w=750.0 h=1334.0
2017-02-28 20:49:35.473 IOSLauncher[4133:760865] [debug] IOSGraphics: Display: ppi=264, density=1.65
2017-02-28 20:49:35.517 IOSLauncher[4133:760865] Error: -[IOSVersion init]: Cannot parse iOS version string "10.2"
2017-02-28 20:49:36.247 IOSLauncher[4133:760865] [debug] IOSApplication: created
2017-02-28 20:49:36.269 IOSLauncher[4133:760865] [debug] IOSApplication: resumed
2017-02-28 20:49:36.301 IOSLauncher[4133:760865] [debug] IOSApplication: Status bar is not visible
2017-02-28 20:49:36.302 IOSLauncher[4133:760865] [debug] IOSApplication: Total computed bounds are w=750.0 h=1334.0
2017-02-28 20:49:36.302 IOSLauncher[4133:760865] [debug] IOSApplication: Status bar is not visible
2017-02-28 20:49:36.303 IOSLauncher[4133:760865] [debug] IOSApplication: Total computed bounds are w=750.0 h=1334.0
2017-02-28 20:49:36.453 IOSLauncher[4133:760865] [debug] gdx-facebook (1.2.4): gdx-facebook (1.2.4) for iOS installed successfully.
2017-02-28 20:50:05.989 IOSLauncher[4133:760865] [debug] gdx-facebook (1.2.4): Could not load existing accessToken.
2017-02-28 20:50:05.992 IOSLauncher[4133:760865] [debug] gdx-facebook (1.2.4): Starting GUI sign in.
2017-02-28 20:50:06.037 IOSLauncher[4133:760865] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2017-02-28 20:50:06.052 IOSLauncher[4133:760865] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
objc[4133]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x12de4b998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x12dc6d880). One of the two will be used. Which one is undefined.
2017-02-28 20:50:32.392 IOSLauncher[4133:760865] [debug] gdx-facebook (1.2.4): Error while trying to sign in: The operation couldn’t be completed. (com.facebook.sdk.login error 308.)
2017-02-28 20:50:32.393 IOSLauncher[4133:760865] [error] GdxFacebookSampleApp: SIGN IN (read permissions): Error login: The operation couldn’t be completed. (com.facebook.sdk.login error 308.)
2017-02-28 20:54:47.025 IOSLauncher[4133:760865] [debug] IOSApplication: paused
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.