freshplanet / ANE-Facebook

Air Native Extension (iOS and Android) for the Facebook mobile SDK
Apache License 2.0
221 stars 123 forks source link

requestWithGraphPath #219

Closed anylxl closed 7 years ago

anylxl commented 9 years ago

I see you have written articles from https://github.com/freshplanet/ANE-Facebook, and has been concerned about your updates,

I recently updated from you, I found a few problems,

1, Facebook.getInstance () requestWithGraphPath ("/ me", null, "GET", requesetWithGraphPathHandler); Methods requesetWithGraphPathHandler, not return parameter "data".

2, AirFacebook.ane larger file content

You can help me answer it? Thank you very much。

UmberFunk commented 9 years ago

Hello @anylxl,

Did you managed to make it work on Android? It's crashing when openSessionWithReadPermissions is called. Tested on two devices.

I use latest AIR SDK 18.0.0.180. Testing on Huawei G700 and HTC

anylxl commented 9 years ago

Hello @UmberFunk, in IOS 8.3 . I found "requestWithGraphPath" method can not be used. because AIR SDK15.0

UmberFunk commented 9 years ago

Hi @anylxl

I think it would be better to switch to latest SDK. Latest version does support new IOS versions.

I finally found a good version of Facebook ANE. I'm going to test it with iOS this days. Link: https://github.com/freshplanet/ANE-Facebook/blob/bc2a8a3a4037b8c12508ba5a70ae1eaee034ee00/bin/AirFacebook.anehttps://github.com/freshplanet/ANE-Facebook/blob/bc2a8a3a4037b8c12508ba5a70ae1eaee034ee00/bin/AirFacebook.ane clear token before connecting.

UmberFunk commented 9 years ago

If it isn't copy-paste problem, there's an extra space in your code: "/ me" should be "/me"

anylxl commented 9 years ago

I try now. tks

anylxl commented 9 years ago

hi, @UmberFunk , this link," page not found".

https://github.com/freshplanet/ANE-Facebook/blob/bc2a8a3a4037b8c12508ba5a70ae1eaee034ee00/bin/AirFacebook.anehttps://github.com/freshplanet/ANE-Facebook/blob/bc2a8a3a4037b8c12508ba5a70ae1eaee034ee00/bin/AirFacebook.ane

UmberFunk commented 9 years ago

Sorry, I accidently doublepasted it.

Corrected: https://github.com/freshplanet/ANE-Facebook/blob/bc2a8a3a4037b8c12508ba5a70ae1eaee034ee00/bin/AirFacebook.ane