Facebook Conversation ID Retriever

- 1 min

This is a support script to the Facebook Messages Counter I have posted earlier. This can be used to get the conversation ID from the Profile ID.

I used the same Graph API V2.2 which I have used in the previous post also to retrieve the Conversation ID. You can use the same Access Token generated from the graph explorer. If you haven’t generated till now you can generate once from here.

Replaces the <access_token> from url in the script with your access token. Also specify the UserID of the person in userId.

Then start running the script with python script.py

The required conversation ID is printed if the conversation has been initiated before.

The final script is :

Sample :

Alt Text

You can checkout the repo here. Fork it or Star if you like it.

You can mail me at sunil@suniltatipelly.in for any queries or doubts regarding this.

Sunil Tatipelly

Sunil Tatipelly

Supposedly Engineer. Major Geek. Food Freak. Proud IITian. Quirkyalone.

comments powered by Disqus
rss facebook twitter github youtube mail spotify instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora