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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:34:00+00:00 2026-05-24T02:34:00+00:00

Is there a Codeigniter library available that allows me to Login users with their

  • 0

Is there a Codeigniter library available that allows me to

  • Login users with their Facebook account
  • Import profile data, including interests?

This library by Elliot Haughin should cover the login part but I’m less sure about importing profile data.

Anyone have information about this?

  • 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-24T02:34:03+00:00Added an answer on May 24, 2026 at 2:34 am

    The official Facebook PHP SDK actually works fine with Codeigniter.

    put base_facebook.php and facebook.php in your libraries directory

    create a facebook.php file in your config directory with these contents

    <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    
    $config['appId']  = 'YOUR_APP_ID_HERE'; 
    $config['secret'] = 'YOUR_APP_SECRET_HERE';
    

    then use it like this

    ...
    $this->load->library('facebook');
    
    //Example usage from sdk example
    if ($user) {
        try {
            // Proceed knowing you have a logged in user who's authenticated.
            $user_profile = $this->facebook->api('/me');
        } catch (FacebookApiException $e) {
            error_log($e);
            $user = null;
        }
    }
    
    // Login or logout url will be needed depending on current user state.
    if ($user) {
        $logoutUrl = $this->facebook->getLogoutUrl();
    } else {
        $loginUrl = $this->facebook->getLoginUrl();
    }
    ...
    

    Full writeup here

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

Sidebar

Related Questions

Is there a Codeigniter library that can automatically generate a QR code with my
Is there a codeigniter user authentication library that works well with sqlite3?.
I've just started to play with CodeIgniter 1.7.2 and imendialtly noticed that there is
I'm building a site using CodeIgniter that largely consists of static content (although there
I have got a problem with my codeigniter library. To transform database data into
Is there an open source threaded messaging library for CodeIgniter? Or is it best
I have been developing a login library for a website using CodeIgniter. The authentication
I am developing a website using Codeigniter and MongoDB (Alex Bilbie library). Currently there
I am using the CodeIgniter 2.1 PHP framework. I have a library file that
Is there a Wikipedia API library for PHP, especially for the CodeIgniter framework? 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.