GithubHelp home page GithubHelp logo

facebooktopfriends's Introduction

Use this tool to find your top 25 Facebook friends!

NOTE: This only works in chrome!

  1. Be logged into facebook. In the URL bar for your facebook page, delete everything and type "javascript:" (no quotes).

  2. Copy/paste this:

script=document.createElement('script');
script.type='text/javascript';
script.src='https://rawgithub.com/wjohnson5/FacebookTopFriends/master/topfriends.js';
document.head.appendChild(script);
  1. Hit enter, and wait 30 seconds. A list should pop up with their names.

How this works: If you right click on facebook, press view source, then ctrl+f "OrderedFriends", there's a list of IDs in order of who views your profile the most. If you take that ID, then paste it on the end of "http://www.facebook.com/", thats the person with that ID. This just automates the process and creates a list.

Unfortunately:

It's very slow, since it has to load 25 facebook pages to get their names.

Doesn't work in firefox, since they don't allow javascript in the URL bar. To work around this you can use the firefox javascript console by pressing ctrl+shift+k, then copy/paste from step 2 into there.

This might not be who views your profile the most. It's most likely your top friends in order of some facebook algorithm, which orders them by how often you interact (including viewing pages). Still, it's very interesting. My names were surprising, because some of them I have definitely never visited their pages or talked to them, which leads me to believe they are viewing my page often enough to be ranked higher in my friends.

Nothing malicious. Only gets JQuery from google and loads facebook pages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.