I am making a site , where some guy who has a facebook account can invite his friends.
The problem is that the standards facebook API provides a popup for such case , where a user who wants to invite his friends has to manually click each friend he wants to invite , after that click enter.
How can I mass send messages/notifications on facebooks to those said friends of my customer ?
Same question about sneding emails , although I doubt one can ever get the frineds emails form facebook.
Please give me advice. At least tell me how to automate the "select all the friends from the popup" process.
This is a question for FB. You need to find out if they have a way to do this through their API. If not, they probably don't want you doing this, and trying to get around their prevention of it would be a violation of their License Agreement.
If you have all the email Addresses, you can list them in a text file and then use Java API to send emails at once to all the friends in the list. If you do not have their E-mail addresses, You will be violating a few rules and regulations so..you would rather go the clean way.
My advice is that Write a list of all the friends you have on Facebook on a text file. Write A program that sends a customized message to each one of them. Schedule the Program to be running at selected times. I hope that one helps and gives you more Ideas how to solve your Problem.
Give a beggar a fish; feed him for a day. Teach him how to fish; Feed him for a lifetime.
There is a good reason why this is not so easy. It would be really handy for spammers to send mass e-mails or messages via Facebook. Ofcourse Facebook does a lot to prevent people from misusing it for spamming purposes.
Why would you want to do this kind of thing anyway? If you want to let all your friends know what you're up to, just publish a message on your Facebook page and your friends can all see it whenever they want. There's no need to send all of them an e-mail or a personal message.