Is there a way to get cookies for specific domain (Facebook) and delete all them using JavaScript?
I want to delete cookies for oAuth (Facebook and Gmail) when the user logs out.
The jQuery Cookie plugin is useful for getting the value of a cookie when you already know the name of the cookie you want to query, but provides no way to get a list of all the cookies that are set.
Refer this DOC for details !!!!
For deleting cookies you can use eraseCookie function
So if I understand this correctly you actually want to logout the user from FB... Have you tried using the FB SDK logout() function? That will successfully delete all FB cookies from your domain.
Hope this helps
facebook.com, you could probably steal your visitor's Facebook account. I think you haven't explained your need but the solution you've figured out. I suggest you explain what you want to accomplish; it's possible that it can be done.