Clear, practical technology insights About · Contact

How to Get Cookies and Facebook Token Simple

Learn how to Get Cookies and Facebook Token with clear steps, useful examples, and practical tips. Complete the task correctly and avoid common mistakes.

Author: Jessica Tanner4 minutes read
Table of Contents

This updated guide explains how to Get Cookies and Facebook Token Simple through clear steps, practical examples, and important checks that help prevent common errors.

Get Cookies and Facebook Token Simple example screenshot 1

I. How to Get Facebook Cookies

Note: Cookies on Facebook can only be obtained on your personal account, you cannot get Cookies of others.

Step 1: You proceed to access your profile and press F12 to display the development mode table. Then, you select the Network tab.

Get Cookies and Facebook Token Simple — I. How to Get Facebook Cookies screenshot 2

Step 2: Find the 'bz' tag in the Name field and select Headers to see the content inside.

If you do not find the 'bz' tag then you can press F5 to reload the page content and easily find them in the first section.

Get Cookies and Facebook Token Simple — I. How to Get Facebook Cookies screenshot 3

Step 3: Go to the Headers tab of the 'bz' tab, scroll down and look for Cookies . Complete the code behind the Cookie 's Cookies of you, you only need to store for use as done.

Get Cookies and Facebook Token Simple — I. How to Get Facebook Cookies screenshot 4

II. How to Get Facebook Token

There are many ways to get different Facebook Token, you can use Code or an extension of Google Chrome.

1. How to Get Facebook Token with Code

Step 1: You proceed to access your profile and press F12 to display the development mode table. Then, you select the Console tab.

Get Cookies and Facebook Token Simple — 1. How to Get Facebook Token with Code screenshot 5

Step 2: Then, Copy and paste the following code into the Console tab and press Enter to run the Code.

(() => { var GetToken = (callback) => { var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var http = new XMLHttpRequest; var data = new FormData(); data.append('fb_dtsg', fb_dtsg); data.append('app_id','124024574287414'); data.append('redirect_uri', 'fbconnect://success'); data.append('display', 'popup'); data.append('ref', 'Default'); data.append('return_format', 'access_token'); data.append('sso_device', 'ios'); data.append('__CONFIRM__', '1'); http.open('POST', '/v1.0/dialog/oauth/confirm'); http.send(data); http.onreadystatechange = function(){ if(http.readyState == 4 && http.status == 200) callback(http.responseText.match(/access_token=(.*?)&/)[1]); } } GetToken(console.log); })();

Get Cookies and Facebook Token Simple — 1. How to Get Facebook Token with Code screenshot 6

Step 3: Immediately, your Facebook Token will appear in the Console window. Now you can Copy Token to use for different purposes.

Get Cookies and Facebook Token Simple — 1. How to Get Facebook Token with Code screenshot 7

2. How to Get Facebook Token Using Google Chrome Extension

Step 1: You proceed to the following Web site to install the extension on Google Chrome.

Homepage: https://chrome. google. com/webstore/detail/fb-access-token-extractor/cidapnoklonbcndfkblhcdacpfjnghhp? hl=en

Get Cookies and Facebook Token Simple — 2. How to Get Facebook Token Using Google Chrome Extension screenshot 8

Step 2: After installing the extension, proceed to restart Google Chrome for the extension to work. Next, click the FB Access Token utility icon and select Graph API explorer to get the Token.

Get Cookies and Facebook Token Simple — 2. How to Get Facebook Token Using Google Chrome Extension screenshot 9

Step 3: The system will open Facebook Developers Tab and here you will see your Token inside the Access Code dialog box. You can Copy them to use normally.

Get Cookies and Facebook Token Simple — 2. How to Get Facebook Token Using Google Chrome Extension screenshot 10

In this article, Software Tips have shown you how to get Cookies and Facebook Token quickly and easily. Have a nice day!

Frequently Asked Questions

What is the easiest way to Get Cookies and Facebook Token Simple?

Start with the requirements in this guide, then follow each step in order. Check the result after every major change so problems are easier to identify.

Can beginners follow these instructions?

Yes. The process is organized into practical steps, and you can repeat any step before moving forward.

What should I check if the method does not work?

Confirm your software or device version, permissions, settings, file format, and internet connection when the task depends on online services.

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.