Facebook Post To Wall NOT WORKING ON ANDROID DEVICE!

The official instructions for how to generate this hash key for facebook can be found here…
http://developers.facebook.com/docs/mobile/android/build/#sig

Just be aware that if you type in the wrong password for your keystore, the command line won’t tell you and it will generate an invalid hash key.

Or… you can just let the facebook login fail and copy and paste the hash key that you see in “adb logcat”. That’s way easier. :wink: [import]uid: 32256 topic_id: 20741 reply_id: 109746[/import]

Any updates on this yet?
[import]uid: 160777 topic_id: 20741 reply_id: 117686[/import]

Have you read the thread? From what I can see the problem was using the wrong hashtags, so this thread is solved.

Like Peach said in the other thread you bumped, you might want to create a new post and relay more details about your issue? “Any update on this yet?” really isn’t going to help solve your problem. [import]uid: 33275 topic_id: 20741 reply_id: 117692[/import]

i’m beginner ,i don’t known what is meaning by hashtags i need updated tutorial to post a photo on facebook wall from my andoroid app ,where can i make this??? [import]uid: 160777 topic_id: 20741 reply_id: 117699[/import]

Nobody is going to do everything for you - but there’s plenty of people willing to point you in the right direction. Everybody is a beginner to start with, but simply being told exactly what to do is never going to improve your coding skills.

It seems that Joshua posted a link to the Facebook developers page that contains information about how to generate the hash key - I suggest reading that for starters, it’s what they call the key hash and you’ll need to get acquainted with some of the tools from the Android SDK.

That’s a good start and should get you into a position where you can integrate with Corona. Once you’re at this stage I’m sure somebody will be able to help if you need more info.
[import]uid: 33275 topic_id: 20741 reply_id: 117706[/import]

We’ve also had a blog post last week dedicated to Facebook that goes over the common pitfalls a lot of developers have trouble with. It’s worth a read too.
http://www.coronalabs.com/blog/2012/07/25/faq-wednesday-your-facebook-questions/

It also notes that the hash key on Android only comes into play if the official Facebook app is installed on your device and is used for single sign-on. The hash key is not used if the Facebook app is NOT installed. This is one of the sources of confusion as to why things break when the Facebook app is installed. That blog post also tells you how to solve it. [import]uid: 32256 topic_id: 20741 reply_id: 117782[/import]

@Joshua Quick ,@SegaBoy thnx for ur reply [import]uid: 160777 topic_id: 20741 reply_id: 117794[/import]

Facebook error on android. I’ve been having this issue as well. I’ve read many forum posts and spent some time on this and I have things working now thanks to everyone here. Just in case anyone is still having this issue this is the process that I’m using. I’m using similar code to the one that ‘schizoid2k’ is using.
1- I go to c: prompt and navigate to the location where the ‘androiddebugkey’ was which for me is: c:/Program Files (x86)/Corona Labs/Corona SDK/Resources

2- Once in that area I make a keystore using this code at the c:prompt: keytool -genkey -v -keystore youpickthename.keystore -alias youpickedthekeyname -keyalg RSA -keysize 2048 -validity 100

3- Once I do that I go back to the simulator and click ‘build for’ Android/Amazon and fill out the information. Under ‘keystore’ I put the location of the keystore which in the case would be; c:/Proram Files/Corona Labs/Corona SDK/Resources/youpickthename.keystore. Under ‘key alias’ will be a list of the key aliases in that store that you’ve created, in this case: youpickedthekeyname

4- Then I save the file to my phone, install it. Then with the phone connected via usb I click on c:prompt and type ‘adb logcat’ and wait for all the info to start scrolling. I then navigate to my app and press my facebook button and wait about a second or so and scroll through the list to find where it says: Login failed: invalid_key:Android key mismatch. You
r key “JGn9F2vDQ/w6hexLxdefCUpxYIA” does not match the allowed keys specified in
your application settings. Check your application settings at http://www.facebook.com/developers

5- I then take the mismatched key, JGn9F…and so on and go to where I created my app on facebook and fill in the hashkey with the above info. After saving I wait about thirty seconds or so and then I go back into my app and press the facebook button and EVERYTHING WORKS!!! YIPPEE!!

I hope this helps anyone having problems with this. All the information was done by all these other wonderful programmers but I just put it together like this so everyone is not back and forth up and down and all around like I was. I’m sure there is a better way but this works for me. [import]uid: 114782 topic_id: 20741 reply_id: 119169[/import]

Hi ,jamiemartin2010
Thnx 4 sharing but this command i will write exact as u wrote or i 'll change anything according to my application??
keytool -genkey -v -keystore youpickthename.keystore -alias youpickedthekeyname -keyalg RSA -keysize 2048 -validity 100 [import]uid: 160777 topic_id: 20741 reply_id: 119201[/import]

You should change it to suit the name that you want for the keystore and the alias. Validity I think you can set that to whatever amount of years that you want this to be valid. [import]uid: 114782 topic_id: 20741 reply_id: 119206[/import]

Hello, I tried Following Jaimemartins Steps, but when I touch my facebook button in app in the terminal the logcat only says:

W/ActivityManager( 1268): Trying to launch …
W/ActivityManager( 1268): Scheduling restart of crashed service com.sec.android.app.sns/.SnsService in 14529592ms
W/PowerManagerService( 1268): Timer 0x7->0x3|0x1

then goes to facebook and says App is misconfigured for Facebook Login. Press okay to go back to the app.

Any idea why? or how do I get the terminal to display the login facebook info when running logcat command

Thanks a lot [import]uid: 111657 topic_id: 20741 reply_id: 126589[/import]

anyone? [import]uid: 111657 topic_id: 20741 reply_id: 126730[/import]

Got it working… Thanks :slight_smile: [import]uid: 111657 topic_id: 20741 reply_id: 126733[/import]

Hello, I tried Following Jaimemartins Steps, but when I touch my facebook button in app in the terminal the logcat only says:

W/ActivityManager( 1268): Trying to launch …
W/ActivityManager( 1268): Scheduling restart of crashed service com.sec.android.app.sns/.SnsService in 14529592ms
W/PowerManagerService( 1268): Timer 0x7->0x3|0x1

then goes to facebook and says App is misconfigured for Facebook Login. Press okay to go back to the app.

Any idea why? or how do I get the terminal to display the login facebook info when running logcat command

Thanks a lot [import]uid: 111657 topic_id: 20741 reply_id: 126589[/import]

anyone? [import]uid: 111657 topic_id: 20741 reply_id: 126730[/import]

Got it working… Thanks :slight_smile: [import]uid: 111657 topic_id: 20741 reply_id: 126733[/import]

Hey Steve,
How did you get it to work? [import]uid: 150930 topic_id: 20741 reply_id: 128252[/import]

Please see this blog post…
http://www.coronalabs.com/blog/2012/07/25/faq-wednesday-your-facebook-questions/
[import]uid: 32256 topic_id: 20741 reply_id: 128316[/import]

Hey Steve,
How did you get it to work? [import]uid: 150930 topic_id: 20741 reply_id: 128252[/import]

Please see this blog post…
http://www.coronalabs.com/blog/2012/07/25/faq-wednesday-your-facebook-questions/
[import]uid: 32256 topic_id: 20741 reply_id: 128316[/import]