Skip to content

hfreire/happn-wrapper

Repository files navigation

A 💞 Happn 📦 wrapper library

Coverage Status Known Vulnerabilities Version Downloads

A Happn wrapper library.

Features

How to install

npm install happn-wrapper

How to use

Use it in your app

Authorize Facebook account and get recommendations

const HappnWrapper = require('happn-wrapper')

const happn = new HappnWrapper()
const facebookAccessToken = 'my-facebook-access-token'

happn.authorize(facebookAccessToken)
  .then(() => happn.getRecommendations())
  .then(({ results }) => console.log(results))

How to contribute

You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.

All donation proceedings will go to the Sverige för UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.

Used by

License

Read the license for permissions and limitations.