代码:
var user = require(["CurrentUserInitialData"]).USER_ID;var fb_dtsg = require(["DTSGInitData"]).token;fetch("https://business.facebook.com/api/graphql/", {"headers": {"accept": "*/*","accept-language": "en-US,en;q=0.9,vi;q=0.8","content-type": "application/x-www-form-urlencoded"},"body": "fb_dtsg="+fb_dtsg+"&variables=%7B%22input%22%3A%7B%22client_mutation_id%22%3A%229%22%2C%22actor_id%22%3A%22"+user+"%22%2C%22bmc_optin_status%22%3A%22OPT_OUT%22%7D%7D&server_timestamps=true&doc_id=8398852550167223","method": "POST"}).then(e => e.text()).then(e => {console.log(e);});
网址:
[链接登录后可见]