aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index d5733592..8e935714 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -14,3 +14,14 @@ export const GET_IG_POSTS_ENDPOINT: string = API_URL + 'posts-ig/';
export const SEARCH_ENDPOINT: string = API_URL + 'search/';
export const MOMENTS_UPLOAD_ENDPOINT: string = API_URL + 'moments/';
export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/';
+
+// Social Link
+export const LINK_IG_ENDPOINT: string = API_URL + 'link-ig/';
+export const LINK_FB_ENDPOINT: string = API_URL + 'link-fb/';
+export const LINK_TWITTER_ENDPOINT: string = API_URL + 'link-twitter/';
+
+// Social Link OAuth
+export const DEEPLINK: string = 'https://tinyurl.com/y3o4aec5';
+export const LINK_IG_OAUTH: string = `https://www.instagram.com/oauth/authorize/?client_id=205466150510738&redirect_uri=${DEEPLINK}&scope=user_profile,user_media&response_type=code`;
+export const LINK_FB_OAUTH: string = `https://www.facebook.com/v8.0/dialog/oauth?client_id=1308555659343609&redirect_uri=${DEEPLINK}&scope=user_posts,public_profile&response_type=code`;
+export const LINK_TWITTER_OAUTH: string = API_URL + 'link-twitter-request/';