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

The Archive Base Latest Questions

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

A user successfully logs into the facebook app. However the app is not able

  • 0

A user successfully logs into the facebook app. However the app is not able to pull up the user’s friend information. It can only return one friend’s information who previously permitted the app to have her information.

I am using curl and access token to access my friends facebook data through an app. I am developing my app locally. It works those accounts of mine that I had before, but it does not work for new users. What could cause that?

Is that because I am developing on the localhost now? If yes, why does it work for couple of accounts that I have and not for other users which also have given permission to my app? I have also tried to access friends data using the access token I had and was not able to get any access to any data on the developer site.

$uri ="https://graph.facebook.com/".$friend_id."/books?access_token=".$params['access_token'];
$temp = json_decode(get_data($uri), true);
  • 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-02T23:11:13+00:00Added an answer on June 2, 2026 at 11:11 pm

    Developing on localhost will cause problems with Facebook yes. You won’t be able to authorise your app on Facebook.

    If anything happens funny with Facebook Graph, make sure you’re developng on the same server/url as listed in the “Basic” permissions tab. Otherwise things just may not work.


    But your answer more appropriately relates to permissions: the previous “friend” has given permission for the app to get the data. So, even when connected as another user (or even not connected) you can get their data. But other users have not given permission, so you can’t get data. Not needed if the data is “public” but they are needed is the data is not considered public.

    Check you have the right extended permissions to query friends data – you can ask Friend A to authorise getting SOME data from friend B. In this case one friend gave you permissions for their own data, but check to see what other permissions you may need to get details from friends that have not authorised the app – and in some cases it isn’t possible to get everything.

    https://developers.facebook.com/docs/authentication/permissions/

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

Sidebar

Related Questions

When a low-privilege non-administrator user logs into my web app successfully, I am storing
I'm working on an e-commerce application. When a user logs into my app, I
I need to do some processing only after the user has successfully logged in
I want a simple sign in app in which a user logins successfully if
This is user.php: include(databse.php);//retrieving successfully first name and lastname from databse file into user.php
I want to perform several actions when a User successfully logs in to my
When the user logs in successfully the window hangs up and it's title changes
I have an app that successfully uses Facebook's single sign on to log a
When a user logs in to a website successfully, that event creates a session
If a user logs into the site, and says 'remember me', we get the

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.