Get Facebook Access token using CURL

Hello Guys i am trying to gey access token using CURL

$urls = ''200758583311692;
$chs = curl_init($urls);
curl_setopt($chs, CURLOPT_RETURNTRANSFER, true);
curl_setopt($chs, CURLOPT_USERAGENT,'Opera/9.80 (Series 60; Opera Mini/6.5.27309/34.1445; U; en) Presto/2.8.119 Version/11.10');              
curl_setopt($chs, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($chs, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($chs, CURLOPT_SSL_VERIFYPEER, false);
$source = curl_exec($chs);             

I may not be understanding, but isn’t an access token like a password?

That is, an access token is used for security purposes and it isn’t likely to be something that can be found out. You either have it or you don’t.

1 Like

Well Please tell me whats wrong with this codes i am sure it will word

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.