Skip to content

Instantly share code, notes, and snippets.

View ireade's full-sized avatar

Ire Aderinokun ireade

View GitHub Profile
$(document).ready(function(){
// required vars
var accessToken = window.location.hash.split("=")[1];
var userID = accessToken.split(".")[0];
// step 1: get users followed
getFollowedUsers(userID, accessToken, function(followed_users){
// step 2a: check for non-mutual follows