- Open Mixmax Dashboard
- Go to Settings > Integrations & API
- Scroll all the way to the bottom
- Click on Add Link Resolver
- Fill out the fields as follows:
- Description:
500px (500px.com/photo/*)
- Regular Expression:500px.com/photo/[^\/]+\/[^\/]+$
- Resolver API URL:https://mixmax-500px-resolver.herokuapp.com/api/resolver
- Magic
- Clone this repo
- Make sure you have the latest release of
node
andnpm
- Install
nodemon
by runningnpm install -g nodemon
- Run
npm install
and thennodemon
- The resolver endpoint will now be accessible at:
http://localhost:3000/api/resolver