Facebook --> Android Class name?

kapil.pendse
Thnx u very much , this information is very useful for me i appreciate your help [import]uid: 160777 topic_id: 25672 reply_id: 118142[/import]

So I just ported one of my apps over to Android from the iOS version which has been running great.

I am having trouble , though, getting the Facebook Hash key.

I added a Native Android app in the developer section on Facebook, putting “123” in for the hash key for the time being. I put “com.ansca.corona.CoronaActivity” in for the Class name. I am running adb logcat and I have an Android tablet connected. The Terminal window is getting data from the tablet.

I launch my app on the tablet and click the Facebook button. On the tablet, it opens the Facebook window and says the app “is misconfigured for Facebook login. Press Okay to go back to the application without connecting it to Facebook.”

Looking in the Terminal window, there is no reference to the Facebook hash key. Does this error indicate something different than a hash key mismatch? Or is this method of getting the hash key no longer valid? [import]uid: 17827 topic_id: 25672 reply_id: 136878[/import]

It sounds like something else is misconfigured on your facebook developer page. Or perhaps your app ID and secret key are wrong?

Make sure to set the following on the facebook developer page:

  • Facebook Login “Enabled”… which enables SSO (Single Sign-On).
  • Android package name.
  • Canvas URL (Needed to do “appRequests”)
  • Secure Canvas URL (Needed to do “appRequests”)
  • Mobile Web URL (Needed to do deep linking)
  • Under “Advanced” set “Remove offline_access_permission” to disabled.
    [import]uid: 32256 topic_id: 25672 reply_id: 137156[/import]

So I just ported one of my apps over to Android from the iOS version which has been running great.

I am having trouble , though, getting the Facebook Hash key.

I added a Native Android app in the developer section on Facebook, putting “123” in for the hash key for the time being. I put “com.ansca.corona.CoronaActivity” in for the Class name. I am running adb logcat and I have an Android tablet connected. The Terminal window is getting data from the tablet.

I launch my app on the tablet and click the Facebook button. On the tablet, it opens the Facebook window and says the app “is misconfigured for Facebook login. Press Okay to go back to the application without connecting it to Facebook.”

Looking in the Terminal window, there is no reference to the Facebook hash key. Does this error indicate something different than a hash key mismatch? Or is this method of getting the hash key no longer valid? [import]uid: 17827 topic_id: 25672 reply_id: 136878[/import]

Joshua,
Everything was configured correctly and working with iOS.

I added the Native Android App option and do have the Facebook login set to Enabled and I do have the Android package name set correctly.

I do not have the App on Facebook section enabled since it is not on Facebook and I am not doing any appRequests. Also under Advanced, I do not have that option listed.

I did finally get it working by moving over to Windows, spending the time there to get the the Android SDK and JDK all set up, and I used keytool to get the correct hash key and it is working now.
[import]uid: 17827 topic_id: 25672 reply_id: 137434[/import]

It sounds like something else is misconfigured on your facebook developer page. Or perhaps your app ID and secret key are wrong?

Make sure to set the following on the facebook developer page:

  • Facebook Login “Enabled”… which enables SSO (Single Sign-On).
  • Android package name.
  • Canvas URL (Needed to do “appRequests”)
  • Secure Canvas URL (Needed to do “appRequests”)
  • Mobile Web URL (Needed to do deep linking)
  • Under “Advanced” set “Remove offline_access_permission” to disabled.
    [import]uid: 32256 topic_id: 25672 reply_id: 137156[/import]

Joshua,
Everything was configured correctly and working with iOS.

I added the Native Android App option and do have the Facebook login set to Enabled and I do have the Android package name set correctly.

I do not have the App on Facebook section enabled since it is not on Facebook and I am not doing any appRequests. Also under Advanced, I do not have that option listed.

I did finally get it working by moving over to Windows, spending the time there to get the the Android SDK and JDK all set up, and I used keytool to get the correct hash key and it is working now.
[import]uid: 17827 topic_id: 25672 reply_id: 137434[/import]

Using: com.ansca.corona.CoronaActivity  : what happens if user has two corona based apps runnning on Android?

Using: com.ansca.corona.CoronaActivity  : what happens if user has two corona based apps runnning on Android?