I\'m totally new to PHP and MySQL but I\'m implementing the Facebook PHP SDK in my website. Everything works fine so far but i\'m struggling to add the user data to my datab
The Facebook user's data in your code is stored under $user_profile and not $user.
$user_profile
$user