Announcement Announcement Module
Collapse
No announcement yet.
.UncategorizedApiException: (#100) Unknown fields: username Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • .UncategorizedApiException: (#100) Unknown fields: username

    Hi,
    i was following spring-social (facebook) quick guide,
    i could connect with facebook, but got error when fetching the friendslist.

    I also realized that it is because new facebook api do not have username field.

    is there any update on spring-social-facebook api for this.

    Regards
    vijay

  • #2
    Yep, same issue here:

    org.springframework.social.UncategorizedApiExcepti on: (#100) Unknown fields: username. org.springframework.social.facebook.api.impl.Faceb ookErrorHandler.handleUncategorizedError(FacebookE rrorHandler.java:159) org.springframework.social.facebook.api.impl.Faceb ookErrorHandler.handleError(FacebookErrorHandler.j ava:68) org.springframework.web.client.RestTemplate.handle ResponseError(RestTemplate.java:588) org.springframework.web.client.RestTemplate.doExec ute(RestTemplate.java:546) org.springframework.web.client.RestTemplate.execut e(RestTemplate.java:517) org.springframework.web.client.RestTemplate.getFor Object(RestTemplate.java:255) org.springframework.social.facebook.api.impl.Faceb ookTemplate.fetchConnections(FacebookTemplate.java :222) org.springframework.social.facebook.api.impl.Frien dTemplate.getFriendProfiles(FriendTemplate.java:13 5) org.springframework.social.facebook.api.impl.Frien dTemplate.getFriendProfiles(FriendTemplate.java:10 2) hello.HelloController.helloFacebook(HelloControlle r.java:55)

    Comment


    • #3
      Same problem... Any update on this issue?

      Comment


      • #4
        Hi,
        I just digged it and found that FriendTemplate class has as final Variable which stores all the url parameters which includes 'username' as one of them,
        The new API just need to chop off 'username' parameter, also in the spring spirit, the parameters should be optional.

        Regards

        Comment

        Working...
        X