freshplanet / ANE-Facebook

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

callback should be checked against null value @ com.freshplanet.ane.AirFacebook::Facebook/reauthorizeSessionWithPermissionsOfType #119

Closed yi closed 10 years ago

yi commented 10 years ago
TypeError: Error #1006: value is not a function.
    at com.freshplanet.ane.AirFacebook::Facebook/reauthorizeSessionWithPermissionsOfType()[/Users/alex/Projects/freshplanet/anes/facebook/actionscript/src/com/freshplanet/ane/AirFacebook/Facebook.as:311]
    at com.freshplanet.ane.AirFacebook::Facebook/reauthorizeSessionWithPublishPermissions()[/Users/alex/Projects/freshplanet/anes/facebook/actionscript/src/com/freshplanet/ane/AirFacebook/Facebook.as:185]
    at overgen.android::OverGenANE/handler_openSessionWithPermissions()[C:\Users\Administrator\Documents\GitHub\OverGenANE\src\overgen\android\OverGenANE.as:131]
    at com.freshplanet.ane.AirFacebook::Facebook/onStatus()[/Users/alex/Projects/freshplanet/anes/facebook/actionscript/src/com/freshplanet/ane/AirFacebook/Facebook.as:370]
yi commented 10 years ago

problem solved.

this problem happens due to mismatch of facebook app key hash