import wixUsersBackend from 'wix-users-backend'; import {fetch} from 'wix-fetch'; const CLIENT_ID = '1112811133259218974'; const CLIENT_SECRET = 'MorYUCBU0MLMKdAnkggpOxon-GaXSbLG'; const REDIRECT_URI = ''; // Handles the authentication callback export function myApp_auth_callback(request) { const code = request.query.code; const tokenEndpoint = ``; const payload = { grant_type: 'authorization_code', code, redirect_uri: REDIRECT_URI }; const options = { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': `Basic ${Buffer.from(`${CLIENT_ID}:${CLIENT_SECRET}`).toString('base64')}` }, body: Object.keys(payload) .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(payload[key])) .join('&') }; return fetch(tokenEndpoint, options) .then(response => response.json()) .then(data => { const accessToken = data.access_token; // Use the access token to authenticate the user and handle the login logic here // e.g., create a session for the authenticated user // wixUsersBackend.createSession() }); }
top of page


What's the point of using Discord if not to use bots? With our bots, you can keep up real time with stock movements with ease, or find out information about any company in less than 10 seconds - all with easy to understand, boomer proof commands that even an elephant can type out.


Pull up intraday charts - or in any timeframe you want, instantly, using the /c command


Pull option flow tables like a pro in a heartbeat, using the !flow command


Choose your preferred platform for chart delivery, including TradingView or FinViz


Discover company profiles easily, whether it's about what they do, their current market cap, or its shares free float

bottom of page