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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:46:13+00:00 2026-05-29T10:46:13+00:00

This has been discused on SOF, though, I didn’t find anyone having exactly the

  • 0

This has been discused on SOF, though, I didn’t find anyone having exactly the same problem. Furthermore, it’s been more than 2 days now, so I figured to ask.

  1. App is running in a sandbox. Update: the same is happening in sandbox-less environment.
  2. Doesn’t work regardless if I use admin, developer or tester account.
  3. Doesn’t work regardless of whether the user has authorized the app already or not.

Just before calling $fb->getLoginError(), the $fb instance dump (Facebook PHP-SDK) looks like the following:

object(Facebook)#85 (7) {
  ["appId:protected"]=>
  string(15) "[removed for SOF display]"
  ["apiSecret:protected"]=>
  string(32) "[removed for SOF display]"
  ["user:protected"]=>
  int(0)
  ["signedRequest:protected"]=>
  NULL
  ["state:protected"]=>
  string(32) "[removed for SOF display]"
  ["accessToken:protected"]=>
  string(48) "[removed for SOF display]"
  ["fileUploadSupport:protected"]=>
  bool(false)
}

All the [removed for SOF display] information is present.

The code itself:

$login_url      = $fb->getLoginUrl(array('scope' => $config->facebook['scope'], 'redirect_uri' => $redirect_uri ));

echo '
    <noscript>javascript must be enabled.</noscript>
    <script type="text/javascript">top.location.href = \'' . addslashes($login_url) . '\';</script>
';

The URL generated by getLoginUrl() is the following:

https://www.facebook.com/dialog/oauth?client_id=[removed for SOF display]&redirect_uri=[removed for SOF display]&scope=publish_stream%2C+email%2C+user_birthday%2C+user_interests%2C+user_likes

The most annoying thing is that Facebook is producing error An error occurred. Please try later without any additional information. I’ve even tried to set $login_url to something stupid like http://google.com/ which didn’t produce expected error. Just the same An error occurred. Please try later.

I’ve been developing apps for quite a while and this is the first time I am having an issue as such.

  • 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-29T10:46:14+00:00Added an answer on May 29, 2026 at 10:46 am

    The error turned out to be caused by the redirect URI http://facebook.com/[..].

    Usually, if unauthorized domain is used, Facebook produces an error that you have to add the domain to Facebook app settings, App Domain. In this case, it simply produces completely useless An error occurred. Please try later.

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

Sidebar

Related Questions

I know that this has been discused before but i cant find an answer..
This has been a problem that I haven't been able to figure out for
I am sure this has been discussed in this group, but I couldn't find
I know this has been discussed over and over again but I can't find
This problem probably has been discussed, but this one is slightly different. I'm using
Sorry if this has been discussed somewhere else on stackoverflow (I could not find
I know this has been discussed earlier but I couldn't find a satisfactory answer.
Sorry if this has been discussed before, but could nt find a suitable answer
I know this subject has been discussed before but still have problem with refresh
Though this topic has been discussed many times in this forum and all other

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.