Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

MediaOPerations get photo error #214

Open
marky-mark opened this issue Aug 9, 2016 · 0 comments
Open

MediaOPerations get photo error #214

marky-mark opened this issue Aug 9, 2016 · 0 comments

Comments

@marky-mark
Copy link

When executing facebook.mediaOperations().getPhotos("10209368602398167"); . Have the scope user_photos and retreives back a response for getPhoto of the same id.

Retreive an error org.springframework.social.UncategorizedApiException: (#100) Tried accessing nonexisting field (photos) on node type (Photo)

at org.springframework.social.facebook.api.impl.FacebookErrorHandler.handleFacebookError(FacebookErrorHandler.java:91)
at org.springframework.social.facebook.api.impl.FacebookErrorHandler.handleError(FacebookErrorHandler.java:59)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:572)
at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:280)
at org.springframework.social.facebook.api.impl.FacebookTemplate.fetchPagedConnections(FacebookTemplate.java:247)
at org.springframework.social.facebook.api.impl.FacebookTemplate.fetchConnections(FacebookTemplate.java:256)
at org.springframework.social.facebook.api.impl.MediaTemplate.getPhotos(MediaTemplate.java:90)
at org.springframework.social.facebook.api.impl.MediaTemplate.getPhotos(MediaTemplate.java:86)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant