-
Notifications
You must be signed in to change notification settings - Fork 0
Usuarios
Agustin Fernandez edited this page Mar 6, 2021
·
7 revisions
Con esta herramienta, podemos obtener información sobre los usuarios de MercadoLibre. Los atributos privados se muestran solo si el usuario está autenticado y autorizado.
Es una forma mas de verificar y tener mas completo un perfil de usuarios. Si bien, para poder realizarlo tenemos que tener un User ID, se puede conseguir fácilmente usando IPN ($response['collection']['payer']['id']
) o por Payment ($response['payer']['id']
)
Este se puede ejecutar de la siguiente manera
$MP->UserView(2643454950, TOKEN);
Este nos responderá un array
de la siguiente forma
Array
(
[id] => 1
[nickname] => NICTRAFFICGENER1
[registration_date] => 2011-09-05T12:00:00.000-04:00
[country_id] => CL
[address] => Array
(
[city] =>
[state] =>
)
[user_type] => normal
[tags] => Array
(
[0] => normal
[1] => test_user
[2] => mshops
)
[logo] =>
[points] => 0
[site_id] => MLC
[permalink] => http://perfil.mercadolibre.cl/NICTRAFFICGENER1
[seller_reputation] => Array
(
[level_id] =>
[power_seller_status] =>
[transactions] => Array
(
[canceled] => 0
[completed] => 0
[period] => historic
[ratings] => Array
(
[negative] => 0
[neutral] => 0
[positive] => 0
)
[total] => 0
)
)
[buyer_reputation] => Array
(
[tags] => Array
(
)
)
[status] => Array
(
[site_status] => deactive
)
)