Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 906edca835
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (24 sloc) 1.267 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
This is a stand-in, proxy webfinger server for sites that don't implement
webfinger themselves. It currently has implementations for Facebook and Twitter,
served at these endpoints:

http://facebook-webfinger.appspot.com/
http://twitter-webfinger.appspot.com/

Feel free to add more!

Background on webfinger:
http://code.google.com/p/webfinger/
http://hueniverse.com/2009/09/implementing-webfinger/

Source: https://github.com/snarfed/webfinger-unofficial
Contact: Ryan Barrett <webfinger@ryanb.org>

To use this in a webfinger client, you'll need to hard-code exceptions for the
facebook.com and twitter.com hosts and redirect webfinger HTTP requests to the
corresponding endpoint above. (The user URI may use either domain, e.g.
snarfed.org@facebook.com or snarfed.org@facebook-webfinger.appspot.com.)

Note the app.yaml.* files, one for each App Engine app id. To work on or deploy
a specific app id, symlink app.yaml to its app.yaml.xxx file. Likewise, if you
add a new site, you'll need to add a corresponding app.yaml.xxx file.

Deploy commands:
rm -f app.yaml && ln -s app.yaml.twitter app.yaml && \
  ~/google_appengine/appcfg.py update . && \
rm -f app.yaml && ln -s app.yaml.facebook app.yaml && \
  ~/google_appengine/appcfg.py update .

TODO: unit tests
Something went wrong with that request. Please try again.