Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Nascodere valore get app facebook

    Ho un app di facebook che mi da il seguente indirizzo

    codice:
    https://apps.facebook.com/il_quiz/pag.php?code=AQCgp3ICNgzWSSen8y6DkeZg6_v2lWFv4qgbRolPqToGc0ayKAFOsNJCq6gz6ptGK832NJ4qJp1AqAooLq0VscFxpPOh85tBM8nwzlpEbKDFdGSYgDdBzkWiOro3CGigYIQtOtLCMMUcTFi5gWLMVrk6nonQrB62uvj1Vs4_jMeUUBFjxPZH_jnp9mgMvivqdkw#_=_
    lo vorrei nascondere ma non so come, il codice che è questo

    Codice PHP:
    $app_id 'xxxxxxx'
    $app_secret 'yyyyyyy'
    $my_url 'https://apps.facebook.com/zzzzz'
    session_start(); 
    $code $_REQUEST["code"]; 
    $token_url "https://graph.facebook.com/oauth/access_token?" "client_id=" $app_id "&redirect_uri=" urlencode($my_url) . "&client_secret=" $app_secret "&code=" $code

    $response file_get_contents($token_url); 
    $params nullparse_str($response$params); 
    $graph_url "https://graph.facebook.com/me?access_token=" 
    $params['access_token']; 
    $user json_decode(file_get_contents($graph_url)); 
    echo(
    "Hello " $user->name); 

  2. #2
    Vuoi nascondere che cosa quando e perché?
    IP-PBX management: http://www.easypbx.it

    Old account: 2126 messages
    Oldest account: 3559 messages

  3. #3
    nascondere la variabile code dall'indirizzo postato, che ho alla fine dell'esecuzione della pagina

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.