Figma OAuth2 integration for Hello.js
Easily integrate Figma's OAuth2 authentication with your web application using Hello.js
Usage
;; // add figma integration to hellojs; // initialize figma integrationhello; // when creating an app with hello.js don't forget to add your client id and secret to https://auth-server.herokuapp.com/// this is necessary because of the explicit grant authorization Figma is using (more info here https://adodson.com/hello.js/#oauth-proxy); // you can also call the figma endpoints using hellojs after authenticatiing;
API endpoints
At the time of writing following API endpoints have been implemented
GET file
;
GET file/comments
;
GET file/images
;
GET file/versions
;
GET team/projects
;
GET team/files
;
POST file/comment
;
Don't forget to check out the official Figma docs