Saving facebook id as int or varchar?

后端 未结 7 2016
小鲜肉
小鲜肉 2020-12-29 02:32

My question is more advisory than technical. I\'m writing a Facebook app in which I am fetching some information about the user, including facebook_id.
I was wondering i

7条回答
  •  时光说笑
    2020-12-29 02:43

    For new data types, as they are grahp obj ID, I believe it is safe to save them as BINT. However, for old "id", e.g. pic, save them as string (you can easily see that they are in the format xxxxxx_xxxxxxxx)

提交回复
热议问题