GithubHelp home page GithubHelp logo

real-time-proxy's Introduction

=== Facebook Graph Proxy with Realtime Invalidation ===
The Facebook Graph Proxy is a simple proxy for graph.facebook.com that takes
advantage of the Realtime Updates feature to invalidate stale data. It can be
used by replacing references to graph.facebook.com with references to the
proxy.

== Installation ==
To install:

    python setup.py build
    sudo python setup.py install

The Facebook Graph Proxy also requires the CherryPy WSGI server to function.
This may be installed using:

    sudo easy_install cherrypy

== Configuration ==
To start, copy config.sample into config.txt. From here, you will need to
update the following values:

    proxy_port: the port on which the server will listen for requests which
                need to be proxied.
    realtime_port: the port on which the server will listen for Realtime
                   Updates from Facebook.
    cache_entries: The number of entries that should be stored in the cache
                   before dropping the least-recently-used entry
    public_hostname: The publicly-visible hostname that Facebook should use
                     to reach the Realtime Update endpoint of this server

In addition, you will need to enter information about the Facebook
Applications which will be using this server. See the config file for details.

== Security Considerations ==
In order to avoid leaking data about users, the proxy port must only be
accessible by your own servers.

== Execution instructions ==
To run the proxy:

  start_proxy [config_file]

If config_file is not passed, then the proxy will default to using config.txt.

real-time-proxy's People

Watchers

 avatar  avatar  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.