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
Can't connect with Android devices #101
Comments
You did everything right. |
I found there is a problem when when passing permissions in the request. Try instead: _facebookConnect.openSessionWithReadPermissions([], _onSessionOpened); See if you get a different behavior. |
Hi EdPS, Unfortunately, I've got quite the same result: [trace] [Facebook] INFO - InitFunction, appID=570287986354141 |
Try clearing the session before opening a new one, between Init and OpenSession _facebookConnect.closeSessionAndClearTokenInformation(); |
Yep, I've seen in a previous post, someone who was talking about that. Do you think it may come from the key hashes? |
Well you could unzip your .apk and make sure the hash you computed belong to the certificate used to package the app. Which tutorial you followed to compute the hash? Are you developing in Flash Builder? |
It has nothing to do with the hash keys. The ANE is buggy and connecting Regards, ב-28 באוק 2013, בשעה 17:13, EdPS notifications@github.com כתב/ה: Well you could unzip your .apk and make sure the hash you computed belong — |
Well I could connect on Android (sort of, because I could not request specific permissions) but definitely this ANE as some issues. Has somebody tried GoViral Social ANE? Is it worth the $90? |
If you plan earning more than 900$ ... As long as iOS is working and android is working with some workarounds I Regards, ב-28 באוק 2013, בשעה 17:23, EdPS notifications@github.com כתב/ה: Well I could connect on Android (sort of, because I could not request — |
Where can I find the hash in the unzipped apk? To generate the hash, I followed this tutorial : http://afterisk.wordpress.com/2013/02/26/first-free-facebook-single-sign-on-sso-adobe-air-native-extension-for-android/ I'm developping on IntellijIDEA. |
Don't waste your time with the hash. Regards, ב-28 באוק 2013, בשעה 17:28, Nicolas Bush notifications@github.com Where can I find the hash in the unzipped apk? To generate the hash, I followed this tutorial : I'm developping on IntellijIDEA. — |
copy META-INF/CERT.SF out of the apk and run keytool -v -list -keystore {path}/CERT.SF -storetype pkcs12 copy the Sha1 displayed and convert it to Base64 using this website: If you get the same hash you are using then is not the hash |
Arg, I've got an error : |
Sorry, there was probably another step involved. I remember I found a tutorial once about this because flash builder uses a default debug certificate when building apps, you can look for it, and I think it was the .RSA file where you got the hash from. If intelliJ uses the .p12 you generated then this not must be the issue. |
Yep, with Intellij Idea, when testing in debug mode I can choose to use a local p12 or an auto-generated one. Maybe, we can ask someone at freshplanet to give a quick look? |
I'll be working on this ANE this week ;-) On Tue, Oct 29, 2013 at 7:19 AM, Nicolas Bush notifications@github.comwrote:
|
thanks @ataugeron :D i wait new version ANE |
@ataugeron any news about a new version ? |
I pushed a number of fixes last week in the branch feature/review-android. Here are the configurations I tested:
Here are the features I tested:
On Wed, Nov 6, 2013 at 9:43 AM, Messi89 notifications@github.com wrote:
|
Many thanks @ataugeron ! It works for me now too (tested on Galaxy Note 3 Android 4.3 & Facebook app: login/out with app kill, sending apprequests) |
Fix working, verified on both iOS and Android devices. |
I'm getting a new error on Android: "The proxied app cannot request publish permissions without having being installed previously" |
Do you have specific steps/config to reproduce this error? On Thu, Nov 7, 2013 at 4:45 AM, kobydo notifications@github.com wrote:
|
tested on android (samsung tab 2) read_stream work +1 |
I share with you my example #103 |
I have tested example of messi89 with ane on feature/review-android branch and have same issue. |
Hello do you have add the hash in your facebook app ? |
Hello, @messi89. Yes, I added hash as described @cordechasse ( http://afterisk.wordpress.com/2013/02/26/first-free-facebook-single-sign-on-sso-adobe-air-native-extension-for-android/ ). |
with ios i don't know but i tried the ane extension on android...it's ok with me can you share your code (part of social) ? |
Hello everyone, I cannot publish with publish_actions permissions instead of publish_stream. |
Hello
|
deprecated |
Hi,
I'm trying to connect on a few Android devices and I'm not able to connect to facebook.
When turning on the log, I get:
[Facebook] INFO - InitFunction, session={Session state:CREATED, token:{AccessToken token:ACCESS_TOKEN_REMOVED permissions:[]}, appId:570287986354141}
My as3 code:
_facebookConnect = Facebook.getInstance();
_facebookConnect.logEnabled = true;
_facebookConnect.init(ConfigManager.getConstant("facebook-id"));
_facebookConnect.openSessionWithReadPermissions(["read_stream", "email"], _onSessionOpened);
private function _onSessionOpened(success:Boolean, userCancelled:Boolean, error:String = null) : void {
trace(this, "_onSessionOpened", success, userCancelled, error);
}
I've created the facebook app following the guidelines found on :
http://afterisk.wordpress.com/2013/02/26/first-free-facebook-single-sign-on-sso-adobe-air-native-extension-for-android/
I've set the manifestAdditions in the application-descriptor.xml as described in the documentation.
Is there something I forgot?
BTW: the ANE works perfectly on iOS.
The text was updated successfully, but these errors were encountered: