/ Published in: PHP

Rescatar data desde apprequest
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Codigo javascript function app_request(user){ FB.ui({ method: 'apprequests', title: 'Concurso Hipoglos', message: 'Invita a tus amigos a subir a tu bus de hipoglos y ganar fantasticos premios.', data: user }); } // para rescatar los datos $reqId = $_GET['request_ids']; // Get the id of the current request $requests = $facebook->api('/me/apprequests/?request_ids='.$reqId); $itemData = $requests['data'][0]['data']; //DATO QUE SE PASA POR URL }
Comments
