sijugeorge87 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

JAXL Lib example is not working #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here is my code from JAXL examples "echo_facebook_client.php"

$client = new JAXL(array(
    // (required) credentials
    'jid' => 'user@chat.facebook.com',
    'fb_app_key' => MY_APP_KEY,
    'fb_access_token' =>MY_ACCESS_TOKEN,

    // force tls (facebook require this now)
    'force_tls' => true,
    // (required) force facebook oauth
    'auth_type' => 'X-FACEBOOK-PLATFORM',

    // (optional)
    //'resource' => 'resource'
));

entire library is same as downloaded version of jaxl .

this code is showing nothing :(

Original issue reported on code.google.com by karan.sa...@gmail.com on 21 Aug 2012 at 1:08

GoogleCodeExporter commented 9 years ago
Hi Karan,

I did the following on my local dev box:

$ cd /path/to/jaxl/library

$ php examples/echo_facebook_client.php 
Usage: examples/echo_facebook_client.php fb_user_id_or_username fb_app_key 
fb_access_token

$ php examples/echo_facebook_client.php abhinavsingh 123456789123456 
ZZZB5wZC4gGakBAPZAwaYb0BtNRqe00QpYQ3eFK1lhAWrsrSD5akAE1g51ZCUStUmZAj8LydHr5SmSFr
TUKg1gpl3Pj2ZCxhZBvxAamC3A6HwADAD

and it works as advertised.

Also kindly don't use google code issue list. Instead use:
Google Groups: http://groups.google.com/forum/?hl=en_US&fromgroups#!forum/jaxl
Github Issues: https://github.com/abhinavsingh/JAXL/issues
for all further discussions.

Original comment by mailsfor...@gmail.com on 21 Aug 2012 at 1:46

GoogleCodeExporter commented 9 years ago
thanx for reply :)

Original comment by karan.sa...@gmail.com on 22 Aug 2012 at 5:55