Skip to content

Instantly share code, notes, and snippets.

View sirricharic's full-sized avatar

Richard Parker sirricharic

View GitHub Profile
@sirricharic
sirricharic / FBAuth.php
Last active January 7, 2018 08:32
Simple Facebook OAuth Thing
<?
function make_request($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$clientResponse = curl_exec($ch);