Professional Freelance Web Developer
CodeIgniter Activist, Caffeine Junkie

Elliot Haughin

Facebook Connect CodeIgniter Library

This library is essentially a wrapper for the Facebook PHP API, but also includes everything you need to get Facebook Connect working with in your CodeIgniter libraries.

This is an early (beta)-ish release, so the documentation isn’t too great, just wanted to get this out in the wild.

Overview
=========================
This package includes everything you need to get your application using both the server-side facebook api and client-side facebook connect functions.

You can read more about this at http://www.haughin.com/code/facebook/

Licensing
=========================
facebook-client directory and contents licensed by Facebook.
All other contents licensed under GNU/GPL (see license.txt)

Basic setup instructions
=========================
1. Copy the files within application/ to your CodeIgniter application directory.
Included is one config file (facebook.php), one library file (facebook_connect.php), the facebook-client
one sample controller (home.php), and one sample view file (fbtest.php).

2. Copy xd_receiver.htm to the root of your CodeIgniter install (in the same directory as CI’s index.php)

3. Go to facebook developer application and register your application ( http://www.facebook.com/developers/ )

4. Copy your API and Secret key to config/facebook.php

5. In the facebook developer application, set your ‘Connect URL’ under the connect tab, to the CodeIgniter application url.

I.E. http://mygroovyapp.com/

6. If your application lives on a subdomain (like : http://my.groovyapp.com ) set your ‘base domain’ under the connect tab to the top level domain of your application ( in this case: groovyapp.com )

7. Give it a go!

Coming Soon:

  • Better Documentation
  • Installation Screencast
  • ‘Live’ running demo application

Download Facebook Connect CodeIgnter Library

License: GNU GENERAL PUBLIC LICENSE – Version 2
Version: 1.0

Boring Stuff

Design © copyright Elliot Haughin 2009

Content published here are copyright their respective owners.

You cannot copy content from this site, either in English or translated to another language.

Keep Subscribed

Theres lots of ways for you to keep up with me on the web.

Please Note

Information given out on this blog should only be used as a guideline. I hold no liability for any code I write.

Always consult a professional before acting on this guidance.