I'm just getting acquainted with the facebook api and I'm trying to insert user data into a mysql database when they first authorize my facebook connect application.
I want to check and make sure they're not already in the database and then insert them.
I've been trying to use the facebook post authorize pingback, but I keep getting "page keeps redirecting" errors on firefox.
The way I've been able to do it thus far is to bring data back to the same page upon connect and check the database, but there needs to be an easier way using the post authorize pingback than to check for database rows each time someone logs in.
Can someone point me to example scripts to help me cement my knowledge?