Skip to content

Instantly share code, notes, and snippets.

@ducan-ne
Last active September 13, 2019 09:11
Show Gist options
  • Save ducan-ne/42fd88bbe377632cf1ddc8cd8b3cdd70 to your computer and use it in GitHub Desktop.
Save ducan-ne/42fd88bbe377632cf1ddc8cd8b3cdd70 to your computer and use it in GitHub Desktop.
Active Facebook Beta
fetch("https://www.facebook.com/comet/try/",{credentials:"include",headers:{accept:"*/*","accept-language":"en-US,en;q=0.9","content-type":"application/x-www-form-urlencoded","sec-fetch-mode":"cors","sec-fetch-site":"same-origin","viewport-width":"1543"},referrer:"https://www.facebook.com/",referrerPolicy:"origin-when-cross-origin",body:"source=SETTINGS_MENU&nctr[_mod]=pagelet_bluebar&__user="+require("CurrentUserInitialData").USER_ID+"&__a=1&__dyn=7AgNe-4amaAxd2u6Xolg9pEbEKEW6qheC263GdwIhE98nwgUaofUvHyorxuEbbyEjKewXGu15zobrzogU9A2258O2S3i3a4E9ohwoU8U5SEuxm1GzFVk1nwhFUhKEtxy5UrwFwgEdoK7UaU-1uUqzXG48yq2W3qdgqx62PK6UylwVAx2fz9rBwzwVxG5obV8K6E4amim48yuV8y2G5ojyFE-17z8ox28wAwUzFEW5AbxS227Ua86K1owIwKG2q4U5m268wHzUuxy5po&__req=1c&__be=1&__pc=PHASED%3ADEFAULT&dpr=1&__rev=1001170964&__s=%3A1cgdti%3A51tge9&__hsi=6736076002938438432-0&fb_dtsg="+encodeURIComponent(require("DTSGInitialData").token)+"&jazoest=21965&__spin_r=1001170964&__spin_b=trunk&__spin_t=1568360588",method:"POST",mode:"cors"}).then(a=>a.text()).then(()=>window.location.reload())
@ducan-ne
Copy link
Author

image

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