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 6383639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:40:29+00:00 2026-05-25T02:40:29+00:00

Most of the examples and tutorials I have found for the Facebook SDK are

  • 0

Most of the examples and tutorials I have found for the Facebook SDK are for publishing to user accounts.

As someone who has used the Facebook PHP SDK but not the Javascript SDK, I can’t find an example or tutorial for the following:

  1. User clicks FB connect button
  2. Popup window shows manageable Fan Pages
  3. User chooses a Page which they’d like my website to manage
  4. My website gets the ID of the chosen Page

With my website I’m not looking to post information to the admin’s Fan Page, but rather just get the ID of the Page they want to use with my site. Thanks to the PHP SDK, I already have a method of pulling all the information from the admin’s Fan Page that I need.

Is there such a guide?

  • 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-25T02:40:30+00:00Added an answer on May 25, 2026 at 2:40 am

    You can use the graph to get ‘/me/accounts’ which will list all of the apps/pages that the user administrates. You will need to create your own selection pop up for step 2 and 3, using the data from the response object as the values to submit back to your site in step 4.

    Try something like this:

    FB.login(function (response){
    FB.api('/me/accounts',function(apiresponse){
    var data=apiresponse['data'];
    var ids = new Array();
    for(var i=0; i<data.length; i++){
    ids[i]=data[i].id;
    }
    console.log(ids);
    });
    
    },{scope:'manage_pages'});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Most Stackoverflow answers that I have found in regards to the Perl build process
Most examples show how to redirect all subdomain traffic to a primary domain, maintaining
Most examples of creating remote branches involve pushing from a local branch Is there
In most examples that you find on the web when explicitly not using using,
It seems like most examples of JPA/Hibernate entity bean classes I've seen do no
I just wondered, why most Delphi examples use FillChar() to initialize records. type TFoo
Trying to find some simple SQL Server PIVOT examples. Most of the examples that
What are the examples where we really need 3 Tier Architecture ? Can Most
i'm using this example implementation found at http://tangentsoft.net/wskfaq/examples/basics/select-server.html This is doing most of what
I have the website written in PHP (Kohana) and MySQL. I want to create

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.