Here is the implementation example on NodeJS using Express and FetchAPI
Clone the repository and open the directory
In FetchApiExpressJS/index.js, change the API_KEY , API_SECRET , AGE , GENDER , and PUBLISHER_USER_ID to yours
/index.js
API_KEY
API_SECRET
AGE
GENDER
PUBLISHER_USER_ID
Open terminal and run node FetchApiExpressJS/index.js
node
Now you can open the index.html file on your browser
index.html
Here is the implementation example on NodeJS using Express and Axios
In AxiosExpressJS/index.js, change the API_KEY , API_SECRET , AGE , GENDER , and PUBLISHER_USER_ID to yours
AxiosExpressJS/index.js
Open terminal and run node AxiosExpressJS/index.js
node AxiosExpressJS/index.js
Last updated 6 months ago