I connected to all three social login of Facebook,Google,LinkedIn,but my problem is I am getting user token and i retrieved firstanme lastname but not photo how can i retrieve it?
You can try (not sure without context): $data->user->identity->photos which is an array of photos. So: $data->user->identity->photos[0]->value is the link to the first photo. $data->user->identity->photos[0]->size gives you an indication of the size of the first photo.
Hi, You can obtain photos in several ways. The connections endpoint docs.oneall.com/api/resources/connections/read-connection-details/ (which gave you the user token) contains the links to the photo URIs. Also, with the user token, you can retrieve that profile with photos with the user or identity endpoints.
But maybe we did not understand your problem correctly. Regards.
how to retrieve image after successful login using social login , i retrieved $user_token = $data->user->user_token; like this but how to retrieve image
Answers
You can obtain photos in several ways.
The connections endpoint docs.oneall.com/api/resources/connections/read-connection-details/ (which gave you the user token) contains the links to the photo URIs.
Also, with the user token, you can retrieve that profile with photos with the user or identity endpoints.
But maybe we did not understand your problem correctly.
Regards.