何らかの理由で、user_id が実際の user_id ではなく 2147483647 としてデータベースに格納されています。なぜこれが起こっているのか誰にも分かりますか?
if ($_REQUEST) {
$response = parse_signed_request($_REQUEST['signed_request'],
FACEBOOK_SECRET);
$name = $response["registration"]["name"];
$email = $response["registration"]["email"];
$facebookID = $response["user_id"];
$connect = mysqli_connect($db_host,$db_user,$db_pass);
mysqli_select_db($connect,$db_name);
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$result = mysqli_query($connect, "INSERT INTO User (U_id, U_name, U_email) VALUES ('$facebookID', '$name', '$email')") or die (mysqli_error($connect));