Git Product home page Git Product logo

codeigniter-facebook's Issues

Canvas app keeps reloading

When you use this in a canvas app in an iframe, the page just reloads and reloads and reloads... but the PHP never picks up that it is logged in... get_user_id() just returns NULL

Occurs in: all browsers except firefox (3.6.6 on mac)

Documentation Down

I've read your blog had crashed. I'm trying to build a site, that should enable users to comment, using their facebook accounts. Could you try to get the Documentation up just somewhere? :)

I'm very thankful you've done this cool piece of code already.

Using this with 1.7.2

I just loaded this into my CI 1.7.2, made all the changes except for the uri_protocol (which I left auto, since changing it to path_info is not an option for me). It seems to work great. Why is path_info needed as uri_protocol for CI 1.7.2?

Doesn't seem to work at all with CI 2.0?

Hi there,

I've really looking forward to trying out your Facebook-CodeIgniter integration, but it seems like it doesn't work. Isn't it possible to try it out while working on localhost if I just register my app on facebook with http://localhost/ as URL or is it required to be online on a real domain before it works?

The issue is that I can see the login link and when I click it, I sure enough gets redirected to Facebook for login and permission granting. When I get sent back to my app on localhost, it shows my FB picture and says I'm logged in. However, it still shows the "Login" link and not anything else. :-/

Any idea what I'm doing wrong or if it it's a bug with CI 2.0?

Pull Requests

Any chance of you merging the pull requests any time soon? Is the library still maintained?

Why _strip_query on callback link?

Facebook library function set_callback strips all queries. Why? I need to include one for my callback so that I can redirect the user back to where they came from. I could, of course, just remove the _strip_query part, but I'm wondering if there is a particular reason for it? Security issues? FB policy?

Facebook FQL

Hi, I don't know where to post this query hence posting here.
I am using CI-2 with elliothaughin/codeigniter-facebook release on February 15, 2011.
i dont find anywhere how to make FQL query. Will anyone throw some light on that ?

Never says logged in.

I am using the latest codeigniter and latest of codeigniter-facebook and I have my app setup but when I click login it goes to facebook then back to my site and still has the login link. I saw a similair issue but it was centered around a WAMP setup. I am on a LAMP setup. You can test it here: http://dev.digital-focus.us/test/blah/facebook_test I will leave it up and wait for a response

Error making any API Calls

Hi Elliot, great Facebook library - it was a breeze to set up and your code looks really solid!

So far I've gotten the user to login and authorise just fine - that part works great. The problem comes when I try to make any API calls.

I've added the following function to facebook_test.php controller:

function test()
{       
    $status = $this->facebook->call('post', 'me/feed', array('message' => 'Hello, World!'));
}

Perfectly valid, I think you'll agree - yes? But this is the error returned by mysite.com/facebook_test/test

exception 'facebookException' with message '0 | Request Failed' in /Users/Jack/Sites/MySite.com/application/libraries/facebook.php:234 Stack trace: #0
/Users/Jack/Sites/MySite.com/application/libraries/facebook.php(194): facebookConnection->_getResponse('Resource id #14') #1
/Users/Jack/Sites/MySite.com/application/libraries/facebook.php(174): facebookConnection->_addCurl('https://graph.f', Array) #2
/Users/Jack/Sites/MySite.com/application/libraries/facebook.php(66): facebookConnection->post('https://graph.f', Array) #3
/Users/Jack/Sites/MySite.com/application/controllers/facebook_test.php(73): facebook->call('post', 'me/feed', Array) #4 [internal function]: Facebook_test->test() #5
/Users/Jack/Sites/MySite.com/furnace/core/CodeIgniter.php(297): call_user_func_array(Array, Array) #6
/Users/Jack/Sites/MySite.com/index.php(163): require_once('/Users/Jack/Sit...') #7 {main}

Is this an issue with the library and my PHP configuration or something? Any API calls reproduce this (get, post, etc.). The returned error isn't very helpful either.

To confirm, I have this in my configuration file:

$config['facebook_default_scope']   = 'publish_stream,email'; 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.