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

  • SEARCH
  • Home
  • 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 7808639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:11:33+00:00 2026-06-02T03:11:33+00:00

Possible Duplicate: Open Facebook page from Android app? Does the Android Facebook app have

  • 0

Possible Duplicate:
Open Facebook page from Android app?

Does the Android Facebook app have Intents that other apps can use to start the Facebook app and goto a specific page?

For example, when someone clicks a certain button in my app, I want them to be taken to Facebook to a specific company’s public Facebook page. Starting a web browser activity for this is easy, but more than likely the user is not logged in the browser etc…

I was thinking it would be nice if I could instead use an Intent (if one exists…) to start up the Facebook app and take the user to the specific page in the app. That way the user is already logged in and can interact with the page, Like it, etc…

Does an Intent like this exist? If so, where would I find more information on it? I’ve been looking through Facebook’s developer documentation but I’m not seeing anything about this.

  • 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-06-02T03:11:34+00:00Added an answer on June 2, 2026 at 3:11 am
    1. Go to https://graph.facebook.com/<user_name_here> (https://graph.facebook.com/fsintents for instance)
    2. Copy your id
    3. Use this method:

      public static Intent getOpenFacebookIntent(Context context) {
      
         try {
          context.getPackageManager().getPackageInfo("com.facebook.katana", 0);
          return new Intent(Intent.ACTION_VIEW, Uri.parse("fb://profile/<id_here>"));
         } catch (Exception e) {
          return new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.facebook.com/<user_name_here>"));
         }
      }
      

    This will open the Facebook app if the user has it installed. Otherwise, it will open Facebook in the browser.

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

Sidebar

Related Questions

Possible Duplicate: launch facebook app from other app I was wondering if there is
Possible Duplicate: Open a URL from Windows Forms Hello! I have a C# desktop
Possible Duplicate: How to open-source an application that uses API keys I have an
Possible Duplicate: open download dialog with php I have a link in my page
Possible Duplicate: Does an open-ended interval implementation exist for Java? i have an int
Possible Duplicate: The Open/Closed Principle I can understand that Open/Close principle suggests that You
Possible Duplicate: how to open in new window how can i open a page
Possible Duplicate: RegEx match open tags except XHTML self-contained tags If I have a
Possible Duplicate: Where can I learn web programming from start to mastery? I want
Possible Duplicate: Open file from complete path under cursor in Vim Let's say I

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.