Go Back   Web Scribble Forums » Joomla » jConnector
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2010, 04:26 PM
Junior Member
 
Join Date: Feb 2010
Posts: 2
Default BUG - Session key invalid or no longer valid

When I log in using JConnector, and simply logout from facebook, facebookapi_php5_restlib.php generates an unhandled exception and joomla displays a blank page.

I modified the file so that the exception does not occur, but you should put it on the main code

Code:
  /**
   * Returns 1 if the user has the specified permission, 0 otherwise.
   * http://wiki.developers.facebook.com/index.php/Users.hasAppPermission
   *
   * @return integer  1 or 0
   */
  public function &users_hasAppPermission($ext_perm, $uid=null) {
    try {
        return $this->call_method('facebook.users.hasAppPermission',
        array('ext_perm' => $ext_perm, 'uid' => $uid));
    } catch (Exception $e) {
        return array(0,0);
    }
  }
Reply With Quote
Reply

Tags
bug

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 11:12 AM.