Skip to content

Instantly share code, notes, and snippets.

View ssx's full-sized avatar

Scott Robinson ssx

View GitHub Profile
<?php
// Twitter Status Update via Oauth
// By Scott Wilcox (v0.1) http://dor.ky
require "lib/EpiCurl.php";
require "lib/EpiOAuth.php";
require "lib/EpiTwitter.php";
// You need to fetch these OAuth tokens and save them for use
// within the OAuth calls. To get these values you will need
// to create a new 'app' at http://dev.twitter.com/apps
@ssx
ssx / gist:590104
Created September 21, 2010 17:35
Twitter API Example Response
array(33) {
["verified"]=>
bool(false)
["profile_use_background_image"]=>
bool(true)
["description"]=>
string(140) "Web,  Apple and data geek with a passion for cross source data manipulation and a love of anything open source.
I also run tweekly.fm."
["follow_request_sent"]=>
@ssx
ssx / gist:590085
Created September 21, 2010 17:25
Twitter API Example Call
<?php
// Require all the files we need
require "../lib/EpiCurl.php";
require "../lib/EpiOAuth.php";
require "../lib/EpiTwitter.php";
// Your user tokens, these won't work as they are invalid, for more information
// on getting your own user tokens or how to register an application yourself,
// please watch http://www.youtube.com/watch?v=bg_wQEmAgaM which shows the
// whole process in detail