The non-profit that I am volunteering with would like me to write code that interrogates FaceBook and retrieve a list of all the individual who are their friends so they can send them an email of their next meeting.
I would like to find out how to get the friend list from FaceBook first, and then if possible how to get the “Like” list.
Thanks!

take a look at facebook api .
In this documentation you will get everything you required for using facebook

I don't have any idea of Php to do such function but I think Python can do that through through scrapy.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.