php-snapchat icon indicating copy to clipboard operation
php-snapchat copied to clipboard

friends array only the names

Open MJ1994 opened this issue 10 years ago • 1 comments

Hi there,

when I do an output with print_r of the $friends array, I receive details of name, can_see_custom_stories and type.

How can I make the output with only the name?

MJ1994 avatar Apr 06 '14 10:04 MJ1994

This can be done by processing the $friends array with php's included functions.

http://www.php.net/manual/en/function.array-values.php

JorgenPhi avatar Apr 07 '14 22:04 JorgenPhi