This project is to develop a shell script that will check if an e-mail
is already registered in Facebook and Groupon. For facebook there are at
least 3 ways to do it (but I am open to any other)
1) submit the e-mail in the registration form and check if that address
already belongs to a current user or not.
2) Use the search box of FB (after login) once you type the address
there facebook returns the name of the user if exist or a not found
mesasage. There is a limit of 250 checks per account per day so the
system needs to manage different users to avoid blocks
3) Use the "Find Friend" feature of Facebook let you upload a csv or txt
with addreses and will retun you a list of the active e-mails to send
them a request. the limit is 5000 per day per account.
Probably 1st option is the easiest but for sure Facebook will block the
IP at some point (so require to manage multi IPs and/or proxies) and
also is a slow process in order to process many requests so require to
do it in a multi thread design Options 2 and 3 require to manage to
login into facebook and to intercept FB answers to process the result,
due the complex ajax design in FB this will not be very easy but is a
nice option because the performance will be much faster, require to
manage thousands of Facebook User Ids to complete the process.
For Groupon the only solution I saw is to submit the address as a new
user and if exist you receive a message insted of the regular register
form, Same as Facebook is a slow process and we need to manage multi
threads and also probably multi IPs or Proxies in order to avoid IP
blocks by the Groupon system
I want a shell script, the programmer will probably require to manage
cURL, Phyton, Perl and Bash. The system should process a single email
"$ ./facebook_check.sh "
or a file containing a list of mails one per line for example:
and just as an example needs to execute like this:
"$ ./facebook_check.sh -l e_mails_lists.txt > mails_checked.txt"
Any question just contact me.