Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

libFetLife is a PHP class implementing a simple API that can be used to interface with the social networking website FetLife.com.

tree: 920a9cb896

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 FetLife.php
Octocat-spinner-32 README.markdown
README.markdown

libFetLife - README

libFetLife is a PHP class implementing a simple API that can be used to interface with the social networking website FetLife.com.

Getting started

To use libFetLife, include it in your project and instantiate a new FetLifeUser object:

// Load FetLife API.
require_once('libFetLife/FetLife.php');

// Log in as a user.
$FL = new FetLifeUser('username', 'password');
$FL->logIn();

// Print some basic information about the account you're using.
print $FL->id; // your user's numeric ID.

// Query FetLife for information about other users.
print $FL->getUserIdByNickname('JohnBaku'); // prints "1"
print $FL->getUserNicknameById('1254');     // prints "maymay"

Patches welcome.

Projects that use libFetLife

Are you using libFetLife? Let me know.

Something went wrong with that request. Please try again.