These are chat archives for tothomweb/hackathongiapi

28th
Mar 2015
Marc Mascort Bou
@marcmascort
Mar 28 2015 07:42
Bones :)
tothomweb
@tothomweb
Mar 28 2015 07:47
Bones a tots!
asensiocanas
@asensiocanas
Mar 28 2015 07:47
Hi!!
D. Corto
@DCorto
Mar 28 2015 07:47
hi there!
:)
David?
xD
Marc Mascort Bou
@marcmascort
Mar 28 2015 07:55
Gerard Guiu
@gerardguiu
Mar 28 2015 08:12
Usarem les seguents histories: hibridoauth i el framework es diu slim
Marc Mascort Bou
@marcmascort
Mar 28 2015 08:12
Fb AppId: 898845680138958
Fb AppSecret: fcd7c90480cfcbe5cb5671fc5c9ff281
D. Corto
@DCorto
Mar 28 2015 08:45
api-social.hackajob.dev
Gerard Guiu
@gerardguiu
Mar 28 2015 08:45
apisocial.hackajob.com
100003281360325
asensiocanas
@asensiocanas
Mar 28 2015 10:10
apisocial.wallyjobs.com ?¿?¿
D. Corto
@DCorto
Mar 28 2015 10:32
yeah
Marc Mascort Bou
@marcmascort
Mar 28 2015 11:01
email,public_+profile,user_about_me,offline_access,read_friendlists,publish_stream
asensiocanas
@asensiocanas
Mar 28 2015 11:21
/me/taggable_friends
asensiocanas
@asensiocanas
Mar 28 2015 11:48
read_friendlists
read_custom_friendlists
Marc Mascort Bou
@marcmascort
Mar 28 2015 14:31
UserID: 1019782033
asensiocanas
@asensiocanas
Mar 28 2015 15:40
100005740265054
Marc Mascort Bou
@marcmascort
Mar 28 2015 16:24
100005740265054?fields=context.fields(mutual_friends)
udAL
@udAL
Mar 28 2015 16:54
+Slim Application Error
+The application could not run because of the following error:
+
+Details
+
+Type: Exception
+Code: 5
+Message: Authentication failed! The user denied your request.
+File: /data/http/2015-social-api/vendor/hybridauth/Hybrid/Auth.php
+Line: 153
+Trace
+
+#0 /data/http/2015-social-api/vendor/hybridauth/Hybrid/Auth.php(39): Hybrid_Auth::initialize(Array)
+#1 /data/http/2015-social-api/includes/routes.php(48): Hybrid_Auth->__construct(Array)
+#2 [internal function]: {closure}('facebookurlOK=a...')
+#3 /data/http/2015-social-api/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
+#4 /data/http/2015-social-api/vendor/slim/slim/Slim/Slim.php(1357): Slim\Route->dispatch()
+#5 /data/http/2015-social-api/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
+#6 /data/http/2015-social-api/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
+#7 /data/http/2015-social-api/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
+#8 /data/http/2015-social-api/vendor/slim/slim/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
+#9 /data/http/2015-social-api/index.php(21): Slim\Slim->run()
+#10 {main}
+188.166.61.120
D. Corto
@DCorto
Mar 28 2015 17:12
1323794929
asensiocanas
@asensiocanas
Mar 28 2015 17:38
/**
 * Tornar els amics de l'usuari
 */
$app->get('/friends/:provider/', function ($provider) use ($app){

    echo 'pecho';
    global $oauthConf;
    ini_set('display_errors', '1');

    $hybridauth = new Hybrid_Auth( $oauthConf );
    $facebook = $hybridauth->authenticate( $provider );
    print_r($facebook->getUserContacts());
});
Marc Mascort Bou
@marcmascort
Mar 28 2015 17:54
Token: CAAMxftF4ZBs4BACLqFmqKUWc2gPNaE2ciZALFcLkuGM5tggZCa3wBIINtONbSBobZCk9BtsUANIpFovJZBolUiPjv4LXMHpZCxabQma9hqeJQZC8uKMXEyLkO8wlZAtX9SgdaMCLKCfCigVcV1OJ9MyCEZAV9ZAG9oZBnK7UA8GSHOaPRfbxVIN3rygGJQwEQKa2MGyRqZATKZBrnvB4wqf2ZCHv37CZC3pYCkc1XMZD
asensiocanas
@asensiocanas
Mar 28 2015 18:40
CAAMxftF4ZBs4BAOgZAjk5XQyKluVRl6UC2ZAuhtQgGUZAy7ABRQzV1XAPrCAT5mFZAEr5tW0CGwhigRFkxjBWP23Rf2v1CRUiOTdWLUtZCirJKVi6zPnF9CBImtO66RWWzEk37SPaqpW2SfGV4rOIZCfpzhutFhhwWbj0om7ak8Saju6VpgkrHPI16CcUUS4AoZAncyT8a5ZAvCpbA5jSgGoUJJLI0XwsppQZD