iphone - Getting wrong FBUID on iOS and old rest api -


I have a big problem UID which comes from Facebook (2147483647) is incorrect.

On this, I can see that the correct UID of my profile is 100002137171664.

So .. what am I doing wrong? All necessary permissions have been set.

 ------------------------------------- ------ --------------------------- (zero) session: (FBSession *) session was logged: (FBUID) UID {NSLog (@ "FBUID:% LL.D.", UID); // 2147483647} ---------------------------------------------- ------------------------   

I think the problem is that you are formatting fbUID incorrectly, instead try% d or% llu

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

c# - GetType() == type perfomance question -