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()
})
})();
Created
January 20, 2021 10:02
-
-
Save manhlinhng/c24972689b510ce299faf45833dd257d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello
manhlinhng
does it still work ?