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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:52:17+00:00 2026-06-13T10:52:17+00:00

Regards, Back, when Authenticated Referrals not depreciated, if the user entered to my facebook

  • 0

Regards,

Back, when “Authenticated Referrals” not depreciated, if the user entered to my facebook application through the canvas url, was redirected to dialogue authorization (for permissions).

Now that do not exist the option, I must do it manually so you can redirect url through the canvas.

I am using Codeigniter for it and from what I see, facebook cancel any redirection I do.

Here is my code:

try {
            $fb_id = $this->facebook->getUser();
            if ($fb_id) {
                $fb_data = $this->facebook->api('/me');
                return $fb_data;
            } else {
                echo 'You don't give me the permissions';
                $url = $url = $this->facebook->getLoginUrl(array(
                    'scope' => 'email,user_likes,user_about_me,publish_stream,user_birthday',
                    'redirect_uri' => $this->config->item('app_name')
                        ));
                header("location:$url");
                redirect($url, 'refresh');
            }
        } catch (Exception $exc) {
            echo $exc;
        }

Is there a simpler way to do it? Any examples you can show me? Thanks in advance

NOTE: My application is a (for now) recorder audio for users
First is a registration with personal information.
Then show the recorder audio.

My target is when a new user find my application (apps.facebook.com/my_app), enter to my app and show automatically the oauth dialog for permission (as before). Then enter to the registration view.

  • 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-13T10:52:18+00:00Added an answer on June 13, 2026 at 10:52 am

    This has nothing to do with codeigniter, just make sure that your redirect_uri is your canvas page URL “apps.facebook.com/app_name“.

    And then use Javascript to redirect the user to the OAuth dialog with something like:

    echo("<script> top.location.href='" . $url . "'</script>");
    

    also check out the Canvas Tutorial.

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

Sidebar

Related Questions

A while back I released an application in Java. While I targetted it for
We have a Windows Form Application and the back-end of the application is SQL
Our application (sadly) uses an MDB back-end database (I.e. JET engine). One of the
I'm trying to send a pdf back to the user but I'm having serious
I am developing an application where user can register themselves by filling up the
I remember reading a while back in regards to logical operators that in the
Disclaimer: I'm not a Notes admin, I just wrote the application :), and I
I created an application a while back which uses Core Data in order to
I'm getting message; Sorry your transaction was not accepted. Click here to go back
I need someone to back me up, or prove me wrong, in regard to

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.