Skip to content

Instantly share code, notes, and snippets.

@yacin16
Forked from manhlinhng/FB NoLimiT.md
Created January 1, 2023 16:35
Show Gist options
  • Save yacin16/865292f5b56af97f13f7b7350c51d381 to your computer and use it in GitHub Desktop.
Save yacin16/865292f5b56af97f13f7b7350c51d381 to your computer and use it in GitHub Desktop.

removed :(() => { let token = require("DTSGInitialData").token || document.querySelector('[name="fb_dtsg"]').value, uid = require("CurrentUserInitialData").USER_ID || [removed].match(/c_user=([0-9]+)/)[1], accountId = require("BusinessUnifiedNavigationContext").adAccountID; fetch("https://secure.facebook.com/ajax/payment/token_proxy.php?tpe=/api/graphql/", { headers: { "content-type": "application/x-www-form-urlencoded" }, referrer: "https://www.facebook.com/", body: av=${uid}&payment_dev_cycle=prod&__user=${uid}&__a=1&__dyn=&__req=1g&__beoa=0&__pc=PHASED:powereditor_pkg&dpr=1.5&__ccg=EXCELLENT&__rev=1002523221&__s=&__hsi=6&__comet_req=0&fb_dtsg=${token}&jazoest=22058&__spin_r=1002523221&__spin_b=trunk&__spin_t=&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=BillingPrepayUtilsCreateStoredBalanceMutation&variables={"input":{"client_mutation_id":"3","actor_id":"${uid}","logging_data":{"logging_counter":21,"logging_id":""},"payment_account_id":"${accountId}"}}&server_timestamps=true&doc_id=3138742652811181, method: "POST", mode: "cors", credentials: "include" }).then(e => { console.log("Done"), location.reload() }) })();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment