Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N node-ostatus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • node-ostatus
  • Wiki
  • Webfinger

Webfinger · Changes

Page history
Write a small message here explaining this change. (Optional) authored Feb 28, 2011 by eschnou's avatar eschnou
Created Webfinger (markdown)
Hide whitespace changes
Inline Side-by-side
Showing with 31 additions and 0 deletions
+31 -0
  • Webfinger.md Webfinger.md +31 -0
  • No files found.
Webfinger.md 0 → 100644
View page @ e41f03e2
Webfinger is an HTTP based protocol whose aim is to discover information on resources represented by an email like identifier. More details on this protocol can be found [[here | http://code.google.com/p/webfinger/wiki/WebFingerProtocol]].
## lookup(identifier, callback);
Perform a lookup on an acct: uri identifier and return a JSON representation of the resource XRD.
Example:
var Ostatus = require('ostatus');
Ostatus.webfinger.lookup("acct:eschnou@identi.ca", function(err, result) {
console.log(util.inspect(result));
};
Will output:
{
subject: 'acct:eschnou@identi.ca',
alias:
[ 'http://identi.ca/user/16106',
'http://identi.ca/eschnou' ],
links:
[ { href: 'http://identi.ca/eschnou',
type: 'text/html',
rel: 'http://webfinger.net/rel/profile-page' },
{ href: 'http://identi.ca/eschnou/hcard',
type: 'text/html',
rel: 'http://microformats.org/profile/hcard' }
]
}
Clone repository
  • Activitystreams
  • Hcard
  • Home
  • Profile.js
  • Pubsubhubbub
  • Salmon
  • Status.js
  • Webfinger.js
  • Webfinger