Generate Facebook Api Key Android

To use the Google Awareness API, you must add a Google API key to your app. Thetype of API key you need is an Android API key.

All Android apps are signed with a digital certificate for which you hold theprivate key. For more information about digital certificates, refer to theAndroid guide on how tosign your app.

Android API keys are linked to specific certificate-package pairs. You onlyneed one key for each certificate, no matter how many users you have for theapp. Escan key generator free download.

Getting Started Android SDK. The Facebook SDK for Android is the easiest way to integrate your Android app with Facebook. It enables: Facebook Analytics - Understand how people are using your product. Facebook Login - Authenticate people with their Facebook credentials. Account Kit - Log people in with just their phone number or email address. To use the Google Awareness API, you must add a Google API key to your app. The type of API key you need is an Android API key. All Android apps are signed with a digital certificate for which you hold the private key. For more information about digital certificates, refer to the Android guide on how to sign your app.

Generate Facebook Api Key Android Free

Several steps are required for you to get a key for your app. They're describedin detail in this guide, and are summarized as follows:

Generate Facebook Api Key Android Download

  1. Get information about your app's certificate.
  2. Register a project in the Google Developers console and add the User ContextAPI as a service for the project.
  3. Request a key.
  4. Add the key to your app. To do so, add an element to your app manifest.

Find your app's certificate information

The API key is based on a short form of your app's digital certificate, known as its SHA-1 fingerprint. To display the SHA-1 fingerprint for your certificate, first ensure that you use the right certificate. You might have the following two certificates to choose from:

  • A debug certificate: The Android SDK tools generate this certificate automatically when you do a debug build. Only use this certificate with apps that you're testing. Don't attempt to publish an app that's signed with a debug certificate. The debug certificate is described in more detail in the Sign your debug build section in the Android developer documentation.
  • A release certificate: The Android SDK tools generate this certificate when you do a release build. You can also generate this certificate with the keytool program. Use this certificate when you're ready to release your app to the world.

For more information about keytool, see its Oracle documentation. /eset-smart-security-key-generator.html.

Display the debug certificate fingerprint

Use the keytool program with the -v parameter to display a certificate's SHA-1 fingerprint. To do so, complete the following steps:

  1. Locate your debug keystore file. The file name is debug.keystore, and it's created the first time you build your project. By default, it's stored in the same directory as your Android Virtual Device (AVD) files:

    • OS X and Linux: ~/.android/
    • Windows Vista and Windows 7: C:Usersyour_user_name.android
  2. List the SHA-1 fingerprint:

    • For Linux or OS X, open a terminal window and enter the following:

    • For Windows Vista and Windows 7, run the following:

Find Facebook Api Key

You should see output similar to the following: