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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:25:11+00:00 2026-05-28T19:25:11+00:00

my aplication is work fine but there is one problem. when someone try to

  • 0

my aplication is work fine but there is one problem. when someone try to use my application he/she gets this error. other problem is after allowing the app it doesnt redirect anywhere, you have to resresf page. after allow and refreshing you can use app.

my allow code: fb:login-button perms=”email,user_birthday,status_update,publish_stream,offline_access”>

you can check my app page: https://apps.facebook.com/denemeapicik/

error:

Uncaught OAuthException: Error validating access token: User 1000abc has not authorized application 144171878989963. thrown in /home/xyzz/facebook.php on line 560

ı try this but it doesnt work:

$params = array(
'scope' => 'read_stream, friends_likes',
'redirect_uri' => 'https://www.myapp.com/post_login_page'
);

$loginUrl = $facebook->getLoginUrl($params);
  • 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-28T19:25:12+00:00Added an answer on May 28, 2026 at 7:25 pm
    require_once("facebook.php");
    $facebook = new Facebook(array(
        'appId'  => '***',
        'secret' => '***',
      'scope'  => 'manage_pages,offline_access,publish_stream,user_photos'
    ));
    
    $user = $facebook->getUser();
    
    if ($user) {
      try {
        // Proceed knowing you have a logged in user who's authenticated.
        $user_profile = $facebook->api('/me');
      } catch (FacebookApiException $e) {
        $user = null;
      }
    }
    
    if ($user) {
      $logoutUrl = $facebook->getLogoutUrl();
    } else {
      $loginUrl = $facebook->getLoginUrl();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application which really should be installed, but does work fine when
I have a WCF service and a Silverlight application that work just fine when
We have a Server/Client cybercafe management application which used to work fine on Windows
I'm work in an aplication that need be capable of support plugins, but i
In an application I work on, any business logic error causes an exception to
I'm trying to get a CakePHP application to work. For this, I've set up
I add C# group too in this, because this is not VB problem but
I have develop one application in which 3 activity. in first activity there are
This is an interesting problem... I've got an ASP.NET 3.5 web application. It's relatively
I know, there are several questions of this type but I tried all of

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.