Wednesday, 24 February 2016

Generate Hash Key for facebook Integrartion Android | Hash Key for Facebook Android

Hello guys in next Post I am going to share with you Facebook Integration in Android studio. I was searching over internet that what kind of Problems you guys face for Facebook Integration in Android.


I found a very common problem and every beginner face that problem is Hash key for Facebook Integration. So in this post I am going to share with you easiest way to find Hash key of your System for Facebook Integration.

So Steps are very simple :
  • Create a New project in your Android studio.
  • Add a TextView and a Button to your activty_main.xml.
  • Register TextView and Button in MainActivty.java and call printHashKey() method on Button click ,this method will print HashKey to your logcat and also set text to your TextView.
1.Create a new project in your Android studio name it anything and select Empty Activity Template.

2.Add a TextView and a Button to your activty_main.xml.Here is my activity_main.xml

3.Register TextView and Button in MainActivty.java and call printHashKey() method on Button click ,this method will print HashKey to your logcat and also set text to your TextView. Here is my MainActivity.java

Still facing any problem ? feel free to comment below. you can download source code from download button.


https://codeload.github.com/kundansviet/Facebook-Hash-key-/zip/master

0 comments:

Post a Comment