Facebook connect is not working in cordova via Android

172 views
Skip to first unread message

Jega

unread,
Apr 24, 2012, 1:16:27 AM4/24/12
to phonegap
Hi,


I have created facebook connect and post message application in
android using cordova1.5.0..
I used some packages in this application.( cordova-1.5.0.js, cdv-
plugin-fb-connect.js and facebook_js_sdk.js,pg-plugin-fb-connect.js
with facebook android jar). then i created and registered apps in
facebook developers site and got app id and generated apps key also..i
was applied it in my application.

It's working fine in Emulator and tablet also.but it's not working
in any android device.

I'm getting this error while running my application in device and
click on login button...

ERROR:

Login failed: invalid_key:Android key mismatch. Your key
"Gxx8NHZdc / hVy0LOZ2IlZB5rjq0" does not match the allowed keys
specified in your application settings. Check your application
settings at http://www.facebook.com/developers.


Kindly help me ,if any body know about this. how to solve this issue
in my application...


Thanks ,

Jega...


Meenakshi Rana @ Collabera Solutions

unread,
May 18, 2012, 7:42:00 AM5/18/12
to phonegap
It is working fine in Android device for me.


On Apr 24, 10:16 am, Jega <jegadesh...@gmail.com> wrote:
> Hi,
>
>    I have created facebook connect and post message application in
> android using cordova1.5.0..
> I used some packages in this application.( cordova-1.5.0.js, cdv-
> plugin-fb-connect.js and facebook_js_sdk.js,pg-plugin-fb-connect.js
> with facebook android jar). then i created and registered apps in
> facebook developers site and got app id and generated apps key also..i
> was applied it in my application.
>
>   It's working fine in Emulator and tablet also.but it's not working
> in any android device.
>
> I'm getting this error while running my application in device and
> click on login button...
>
> ERROR:
>
>    Login failed: invalid_key:Android key mismatch. Your key
> "Gxx8NHZdc / hVy0LOZ2IlZB5rjq0" does not match the allowed keys
> specified in your application settings. Check your application
> settings athttp://www.facebook.com/developers.

Jegatheesan S.

unread,
May 25, 2012, 5:40:50 AM5/25/12
to phon...@googlegroups.com
ok well...Could you send me that code...i will try it again once...


Regards,
Jega
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
Reply all
Reply to author
Forward
0 new messages