GithubHelp home page GithubHelp logo

hhy5277 / searchbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sowdust/searchbook

0.0 1.0 0.0 2.93 MB

A Firefox extension for executing some Graph-like searches against Facebook.

JavaScript 81.05% HTML 18.95%

searchbook's Introduction

SearchBook

A Firefox extension for executing some Graph-like searches against Facebook.

Related article: techblog.mediaservice.net/2019/06/facebook-graphs-not-dead/

Disclaimer

Make sure to read Facebook Terms of Services. All information and code are provided for educational purposes only. Using this code might be against Facebook Terms of Service or possibly even illegal. The authors are in no way responsible for any misuse of the information or the code provided.

About

The extension allows you to overwrite some search queries that can be performed from the interface with more specific ones.

It is based on the research article Facebook graph search workaround published by Social Links.

When visiting a Search Results page, the user can set an arbitrary search query in a "graph search"-like format (more on this later) that will be executed instead of the original search.

Screenshots

Getting a Facebook ID|

Custom Graph Search

Custom Graph Search

Requirements

The extension is now only for Firefox.

Installation

  • Clone this repository or download it as a zip file and extract it on your filesystem
  • Open a new browser tab in Firefox and type in the address bar about:debugging
  • Select "Enable add-on debugging"
  • Click on the "Load Temporary Add-on..." button and open any file inside the code folder (e.g.: manifest.json)

Usage

When visiting a profile, group or user page, by clicking on the extension's icon, it is possible to visualize and copy the Facebook ID of the page. From the extension interface is also possible to set an arbitrary search query (see formats below) by writing it into the text field and clicking "set". After the search query is set, when making a random search through the normal search bar, after scrolling the page down, the results will be replaced with the ones from the user-inserted query. Click "clear" to go back to normal behaviour.

Search formats

I have not yet explored all possible search keywords. If you have done any research and want to share it, please open an issue on this project and I will include it in this readme. As an example, the following operators are working:

stories-liked
stories-commented
stories-by
stories-tagged
stories-keyword
pages-liked
places-liked
likers
users-named
groups
places-visited
photos-of
photos-liked
photos-commented
spouses
videos-of
videos-liked

They can be combined with the command intersect, for example:

intersect(places-visited(facebook_id_1),places-visited(facebook_id_2))

You can also search for date intervals:

intersect(photos-liked(facebook_id),photos(date(2019,jun)))

License

<<<<<<< HEAD This code is free: you can do what you want with it.

This code is free

cf7ed915a8a44084b67acd73a85fd4de7d2c2797

searchbook's People

Contributors

sowdust avatar

Watchers

 avatar

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.