From 8e77b9ff8fe326591291725b9da95d85399f472e Mon Sep 17 00:00:00 2001 From: Marcos Sanz Date: Thu, 6 Sep 2012 11:22:25 +0300 Subject: [PATCH] Working in localhost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modification to work in localhost with the library.  Remember: to write in "site url" in facebook -> localhost.com (or a name add into your hosts file) --- application/libraries/facebook.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/libraries/facebook.php b/application/libraries/facebook.php index d24c00b..2fb9439 100644 --- a/application/libraries/facebook.php +++ b/application/libraries/facebook.php @@ -408,6 +408,8 @@ public function get() private function _find_token() { $token = $this->_get('token'); + // Uncomment if you work in localhost.com + //$token = unserialize (serialize ($this->_get('token'))); if ( !empty($token) ) {