Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6024327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:08:20+00:00 2026-05-23T04:08:20+00:00

I am using FBConnect on Android, it seems that the only ID I need

  • 0

I am using FBConnect on Android, it seems that the only ID I need is the app id, which is a string of digits:

Facebook mFacebook = new Facebook(FacebookConstants.APP_ID);

But I also got API Key and API Secret when register my app, I wonder where are these used? Did I do something wrong? I looked at the sample code from FBConnect, there is also nowhere using api key and api secret.

Edit:
Can someone clarify that, are there three keys/IDs: app id, app key and app secret? Below are code from FBConnect’s sample project:
public static final String APP_ID = “175729095772478”;

My app’s application key does not look like this, mine has non-digits in it.
And I’m still confused, in Facebook’s Doc, there is a command:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore 
| openssl sha1 -binary
| openssl base64

it gives me a string which I can use to register on Facebook, but how does it relate to the application key and secret? I tried FBConnect’s sample(the simple one) and I did not do the keytool command, it works; But if I use my app’s application key, it does not work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:08:21+00:00Added an answer on May 23, 2026 at 4:08 am

    That is all you need for the facebook sdk just the appid. The keystore that you register on the facebook site handles all of the authentication that the key/secret normally would.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create an iPhone application using Facebook. The facebook FBConnect API supports
Using C#, I need a class called User that has a username, password, active
I'm using eclipse, and I have two android projects which have different topics. And
I am using fb-connect for android app problem is when keyboards gets open layout
I am using FBConnect in my app. The log in action sheet buttons are
I am using the following android fb connect library. http://github.com/facebook/facebook-android-sdk/ problem is after successful
I have an Android application that allows the user to connect to his Facebook
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I'm learning how to integrate facebook api in iphone app. First I visited facebook

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.