Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.861 kb
<?php
// Get these from http://developers.facebook.com
$api_key = 'YOUR_API_KEY';
$secret = 'YOUR_SECRET';
/* While you're there, you'll also want to set up your callback url to the url
* of the directory that contains Footprints' index.php, and you can set the
* framed page URL to whatever you want. You should also swap the references
* in the code from http://apps.facebook.com/footprints/ to your framed page URL. */
// The IP address of your database
$db_ip = '10.0.0.0';
$db_user = 'root';
$db_pass = 'YOUR_DB_PASSWORD';
// the name of the database that you create for footprints.
$db_name = 'footprints';
/* create this table on the database:
CREATE TABLE `footprints` (
`from` int(11) NOT NULL default '0',
`to` int(11) NOT NULL default '0',
`time` int(11) NOT NULL default '0',
KEY `from` (`from`),
KEY `to` (`to`)
)
*/
Jump to Line
Something went wrong with that request. Please try again.