Jump to content

csetube

New Members
  • Posts

    1
  • Joined

  • Last visited

csetube's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Im using MYBB forums.. Im using FB connect for my website. The code in which I get error is stated below. $token_url = "https://graph.facebook.com/oauth/access_token?client_id=".$app_id."&redirect_uri=".urlencode($my_url)."&client_secret=".$app_secret."&code=".$code; $access_token = file_get_contents($token_url); $graph_url = "https://graph.facebook.com/me?".$access_token; if($mybb->settings['fbconnect7'] == '0') { $fbuser = json_decode(file_get_contents($graph_url)); } In the above code, I get access token and expiry when I copy the code manually and place it in the browser. But not working when placed in PHP file.. I dono what problem it is.. See my FB connect @ http://instruct.bugs3.com/au/ Hope anyone can clear my error...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.