Skip to content

Instantly share code, notes, and snippets.

View sudofox's full-sized avatar
🕟
turning back the clock

Austin Burk sudofox

🕟
turning back the clock
View GitHub Profile
<?php
include 'HTTP/OAuth/Consumer.php';
$consumer_key = 'xxxxxxxxxxx';
$consumer_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx';
/* consumerの設定 */
$consumer = new HTTP_OAuth_Consumer($consumer_key, $consumer_secret);
$http_request = new HTTP_Request2();
$http_request->setConfig('ssl_verify_peer', false);