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.
url in the script with your access token. Also specify the UserID of the person in
Then start running the script with
The required conversation ID is printed if the conversation has been initiated before.
The final script is :
You can checkout the repo here. Fork it or Star if you like it.
You can mail me at firstname.lastname@example.org for any queries or doubts regarding this.