I’m trying to get the last user image profile from a user which signed in my applications.I’m using the Twitter API for PHP from J7mbo. https://github.com/J7mbo/twitter-api-php
I can get somethings :
$url = 'https://api.twitter.com/1.1/users/show.json'; $getfield = '?screen_name=rwanitolp'; $requestMethod = 'GET'; $twitter = new TwitterAPIExchange($settings); $twitter_resultat= $twitter->setGetfield($getfield) ->buildOauth($url, $requestMethod) ->performRequest();`
But, in the result, in JSon, I haven’t what I want. I have only : “urls”:
But, I have an image in my profile. I want : profile_image_url_https.
An other question, to get this informations, I have to put just a username, my own. But, It would say that anybody can receive this informations ? So, The loggin ( with user key and app key ) is useless ??? No ?
I’m a newbie and it’s my first time in these APIs
And, sorry for my bad english