Já implementei esse login 2 vezes.
Eu simplesmente peguei a Key Hash que o próprio Facebook mostra no erro e configurei no console.
Coloquei tanto a Hash de debug como a da key store do app e nunca tive problemas :D
Já esse teste :D
Em 1 de março de 2015 16:27, Thiago Neves <ttn.passos@gmail.com> escreveu:
Acredito que o problema esta na geração da key hash. O Danilo Mendonça já ma dou um metódo que gera corretamente aqui na lista, se não encontrar, amanhã eu posto, estou no cel.
Em 01/03/2015 16:08, "Cleidimar Viana" <cleidimarviana@gmail.com> escreveu:Sim, mas ao fazer logout no app quando vou fazer login novamente, dá aquele erro do começo da discussão, dizendo que a hash está invalida.--Att.Cleidimar V. SantosSoftware Developer e Co-fundador da WorkingboxGraduando em Ciência da Computação - UFMS/CPPP2015-03-01 15:12 GMT-03:00 Rudson Lima <rudsonlive@gmail.com>:E isso não está correto?Usuário instala o seu app, faz o login via Facebook, confirma o uso da api e fica logado.Enquanto o usuário não fizer um Logout o app vai fazer o login automaticamente.Caso o usuário faça o logout o app vai pedi o login novamente.O fluxo no seu login não está assim?Em 1 de março de 2015 14:44, Cleidimar Viana <cleidimarviana@gmail.com> escreveu:Já tenho uma Key Hash, e ela já está no Facebook console. Gerei assim:c:\Program Files\Java\jre7\bin>keytool -exportcert -alias androiddebugkey -keystore %ENDEREÇO%\debug.keystore | openssl.exe sha1 -binary | c:\Users\Cleidimar\Downloads\openssl\bin\openssl.exe base64keystore password: androidMas não entendo, só consigo fazer login novamente depois de fazer logout se eu ir lá no Facebook manualmente e apagar o APP das minhas de aplicações.Att.Cleidimar V. SantosSoftware Developer e Co-fundador da WorkingboxGraduando em Ciência da Computação - UFMS/CPPPOn Sun, Mar 1, 2015 at 2:35 PM, Rudson Lima <rudsonlive@gmail.com> wrote:A solução é simples, é só gerar sua Key Hash e colocar no console do seu app no facebook.
--
You received this message because you are subscribed to a topic in the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/androidbrasil-dev/HqPxDnp23hA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----
You received this message because you are subscribed to a topic in the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/androidbrasil-dev/HqPxDnp23hA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rudson Lima ( live-O ) Desenvolvedor Android
Contato +55 85 87050560 - Fortaleza-ceGoogle Play CepLive-O e Navigation Drawer - Live-O
Social facebook | google+ | linkedinYou received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário