Facebook
From Coro, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 120
  1. Object: el antic te dos objectes a la capa mes superior: data que conte tota la informacio i success que informa si ha fallat o no la call. El nou te directament tota la informacio en una array gegant sense el success.
  2.  
  3. Falta:
  4.  
  5. num_followers_vital_line
  6. num_lines_alive
  7. phone_alert_frequency
  8. email_alert_frequency
  9. is_favorite
  10. friend_status
  11. inheritor_status
  12. giver_status
  13. death_notifications
  14. group_confirmed_death
  15. user_confirmed_death
  16. vital_line
  17.         line_id
  18. is_vital_line_follower
  19. num_tagged_contents
  20. num_tagged_contents_by_user
  21. num_contents
  22. num_unread_notifications
  23. num_pending_requests
  24. birth_date
  25. legal
  26. gdpr_accepted
  27. gdpr_url
  28. user_legal_token_notification
  29. last_version_accepted
  30. requests
  31.         {}
  32.  
  33. Canviar:
  34.  
  35. user_id (passar a id)
  36. is_random_name (De TinyInt a Boolean)
  37. is_dead (De TinyInt a Boolean)
  38.  
  39.  
  40. Call nova:
  41.  
  42. object          {68}
  43. id      :       3
  44. user_uuid       :       null
  45. parent_id       :       0
  46. first_name      :       IVÁ!xxx
  47. last_name       :       null
  48. is_dead :       0
  49. username        :       Username 3
  50. last_alife_token_date   :       2017-03-07 08:44:48
  51. wrong_alife_token_uses  :       0
  52. wrong_alife_token_uses_total    :       0
  53. email   :       [email protected]
  54. activation_code :       140f06f2-ca9f-11eb-af04-96f9678afa91
  55. email_confirmed :       0
  56. remember_code   :       null
  57. phone_number    :       +34603TEST
  58. phone_number_prefix     :       +34
  59. phone_number_country_code       :       ES
  60. phone_number_confirmed  :       1
  61. phone_number_confirm_code       :       1094
  62. active  :       null
  63. deleted :       0
  64. origin  :       Chrome 43.0.2357.130
  65. device_origin   :       2
  66. timezone        :       0
  67. profile_pic_url :       https://alife-ugc-test.s3.amazonaws.com/69/65/or_83254_1624430022.jpg
  68. user_caption    :       null
  69. last_login      :       null
  70. privacy_mode    :       rockstar
  71. last_notification_email :       null
  72. last_notification_fb    :       null
  73. last_notification_apns  :       2021-07-28 07:33:39
  74. notification_fb_interval        :       20
  75. notification_apns_interval      :       0
  76. notification_email_interval     :       60
  77. receive_phone_alert     :       1
  78. receive_email_alert     :       1
  79. share_likes_fb  :       1
  80. share_likes_tw  :       0
  81. num_of_lines    :       13
  82. num_of_lines_followed   :       21
  83. num_of_contents :       89
  84. num_of_followers        :       1
  85. num_of_friends  :       4
  86. num_of_albums   :       0
  87. num_of_inheritors       :       0
  88. num_of_givers   :       0
  89. is_dynamizer    :       0
  90. was_in_promo    :       0
  91. birth_date      :       1900-01-01
  92. added   :       2017-03-07 08:44:48
  93. modified        :       2021-05-21 14:52:28
  94. language        :       ca
  95. register_source :       app
  96. source_app_last_login_at        :       2022-04-22 07:59:14
  97. source_web_last_login_at        :       2020-04-09 06:00:53
  98. is_random_name  :       0
  99. user_legal_token_notification   :       db1c2888b336
  100. pending_phone_number_confirmed  :       0
  101. pending_phone_number    :       +31653224315
  102. pending_phone_number_prefix     :       31
  103. pending_phone_number_country_code       :       NL
  104. unsubscribed_at :       null
  105. stripe_id       :       null
  106. card_brand      :       null
  107. card_last_four  :       null
  108. trial_ends_at   :       null
  109.         picture_all             {7}
  110. org     :       https://alife-ugc-test.s3.amazonaws.com/69/65/org_83254_1624430022.jpg
  111. xxl     :       https://alife-ugc-test.s3.amazonaws.com/69/65/xxl_83254_1624430022.jpg
  112. xl      :       https://alife-ugc-test.s3.amazonaws.com/69/65/xl_83254_1624430022.jpg
  113. l       :       https://alife-ugc-test.s3.amazonaws.com/69/65/l_83254_1624430022.jpg
  114. m       :       https://alife-ugc-test.s3.amazonaws.com/69/65/m_83254_1624430022.jpg
  115. s       :       https://alife-ugc-test.s3.amazonaws.com/69/65/s_83254_1624430022.jpg
  116. xs      :       https://alife-ugc-test.s3.amazonaws.com/69/65/xs_83254_1624430022.jpg
  117. name    :       IVÁ!xxx
  118.  
  119. Call antiga:
  120.  
  121. object          {2}
  122.         data            {37}
  123. user_id :       3
  124. language        :       ca
  125. is_dead :       false
  126. first_name      :       IVÁ!xxx
  127. is_random_name  :       false
  128. last_name       :       null
  129. name    :       IVÁ!xxx
  130. email   :       [email protected]
  131. phone_number    :       +34603TEST
  132.         picture_all             {6}
  133. xs      :       https://alife-ugc-test.s3.amazonaws.com/69/65/xs_83254_1624430022.jpg
  134. s       :       https://alife-ugc-test.s3.amazonaws.com/69/65/s_83254_1624430022.jpg
  135. m       :       https://alife-ugc-test.s3.amazonaws.com/69/65/m_83254_1624430022.jpg
  136. l       :       https://alife-ugc-test.s3.amazonaws.com/69/65/l_83254_1624430022.jpg
  137. xl      :       https://alife-ugc-test.s3.amazonaws.com/69/65/xl_83254_1624430022.jpg
  138. xxl     :       https://alife-ugc-test.s3.amazonaws.com/69/65/xxl_83254_1624430022.jpg
  139. num_friends     :       4
  140. num_lines       :       13
  141. num_lines_alive :       13
  142. num_followers_vital_line        :       13
  143. num_inheritors  :       0
  144. num_givers      :       0
  145. phone_alert_frequency   :       0
  146. email_alert_frequency   :       60
  147. receive_email_alert     :       1
  148. receive_phone_alert     :       1
  149. is_favorite     :       false
  150. friend_status   :       0
  151. inheritor_status        :       0
  152. giver_status    :       0
  153.         death_notifications             [0]
  154. (empty array)
  155. group_confirmed_death   :       false
  156. user_confirmed_death    :       false
  157.         vital_line              {1}
  158. line_id :       32761
  159. is_vital_line_follower  :       true
  160. num_tagged_contents     :       0
  161. num_tagged_contents_by_user     :       0
  162. num_contents    :       88
  163. num_unread_notifications        :       0
  164. num_pending_requests    :       0
  165. birth_date      :       1900-01-01
  166.         legal           {4}
  167. gdpr_accepted   :       1
  168. gdpr_url        :       https://next.alife.social/ca/page-gdpr?t=db1c2888b336
  169. user_legal_token_notification   :       db1c2888b336
  170. last_version_accepted   :       4.1
  171.         requests                [0]
  172. (empty array)
  173. success :       true