What data types are the various Facebook user data?

If you go here , you will find a list of public profile data that you can access with someone if they use Facebook to enter your site.

  • ID
  • name
  • first_name
  • last_name
  • age_range
  • link
  • floor
  • locale
  • picture
  • Timezone
  • updated_time
  • verify

But what types of data do they come in? Without this information, it would be difficult to do anything with them.

UPDATE:

I tried to capture data and get their data types by calling a method .classon them. namegave "String", but everything else gave "NilClass".

UPDATE2:

To add to the confusion, it namereally gives the email address associated with the Facebook account, not the name.

+4
2

. , public_profile, .

  • id -
  • name -
  • first_name -
  • last_name -
  • age_range -
  • -
  • -
  • locale -
  • picture - string
  • - (: -24) (.: 24)
  • updated_time - datetime
  • verified - bool

string long int id. facebook .

+1

#, "", "ExpandoObject". , .

, .

dynamic item = faceBookApi.Property;

var type = item.GetType();

.Net Framework 4.6.1

+1

Source: https://habr.com/ru/post/1649253/


All Articles