-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEnv.js
More file actions
23 lines (20 loc) · 873 Bytes
/
Env.js
File metadata and controls
23 lines (20 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ ﷺ
InshaAllah, By his marcy I will Gain Success
*/
import dotenv from 'dotenv';
dotenv.config();
import path from 'path';
import fs from 'fs';
import { fileURLToPath } from 'url';
import { createRequire } from 'module';
export const __dirname=path.dirname(fileURLToPath(import.meta.url));
export const FACEBOOK_APP_ID=process.env.FACEBOOK_APP_ID
export const REDIRECT_URI=process.env.REDIRECT_URI
export const FACEBOOK_CLIENT_SECRET=process.env.FACEBOOK_CLIENT_SECRET
export const FACEBOOK_GRAPH_API=process.env.FACEBOOK_GRAPH_API
export const FACEBOOK_GRAPH_VERSION=process.env.FACEBOOK_GRAPH_VERSION
export const FB_USER_ID=529780633391469;
export const require=createRequire(import.meta.url);
export const IG_ID=process.env.IG_ID
export const FACEBOOK_PAGE_ID=process.env.FACEBOOK_PAGE_ID