The program would need two components. First they would need to login with Facebook on that page. That is very very simple. After the person logs in I would them taken to a PHP page/program that takes a long list of Facebook IDs (let's assume this list is in a text file on the server where the PHP program is running) and then display a list of all of those users to the person logged in. Then for each user there needs to be a button that would allow the logged in user to add that user as a friend.
So in other words I want the logged in user to be able to add friends to their Facebook account. The friends that they can add will come from a source I provide. It's a very simple app. The [url removed, login to view] section has everything needed from what I've read. Here is a link to the documentation.
<[url removed, login to view]>
Thank you for considering my project. I'm happy to answer any questions you may have.