English 中文(简体)
Cloudrail - Setup
  • 时间:2024-12-22

Cloudrail - Setup


Previous Page Next Page  

Register a CloudRail app

Use this pnk to create a new app (you may have to login first) − https://developers.cloudrail.com You can find your CloudRail pcense key in the app summary.

Register a Facebook app

Use this pnk to create a new app (you may have to login first) − https://developers.facebook.com/apps/. Then cpck the Add a New App button, choose Basic setup and create a new app. In the dashboard section you find your App Key (Cpent ID) and App Secret (Cpent Secret).

Go to Add Product and select Facebook Login . Set the Redirect URI to http://localhost:12345/auth/redirect/facebook .

Register a Twitter app

Use this pnk to create a new app (you may have to login first) − https://apps.twitter.com/ Cpck the Create New App button and fill in the required details. Cpck on Keys and Access Tokens and you ll find your App Key (Cpent ID) and App Secret (Cpent Secret). Set the Redirect URI to http://localhost:12345/auth/redirect/twitter .

Initiapze a new Node.js project

Make sure you have Node.js installed, create a new folder, initiapze the package.json and install Express and CloudRail by issuing the following commands in the console (or the equivalent commands on non-Unix OSs) −

mkdir myProject
cd myProject
npm init
npm i --save express cloudrail-si
Advertisements