Announcement Announcement Module
Collapse
No announcement yet.
(Class org.springframework.social.facebook.FacebookProfil e), not marked as ignorable Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • (Class org.springframework.social.facebook.FacebookProfil e), not marked as ignorable

    Hi ,

    just started playing around with the new spring social api and
    run first into a missing dependency ( perhaps its mentioned somewhere)
    -> runtime 'org.codehaus.jackson:jackson-mapper-asl:1.3.0'

    After that I get a exception when using the FacebookTemplate

    Code:
     FacebookTemplate tmp = new FacebookTemplate(accessToken)
         FacebookProfile pro =  	tmp.getUserProfile()
    the call to getUserProfile() results in

    errors.GrailsExceptionResolver Unrecognized field "link" (Class org.springframework.social.facebook.FacebookProfil e), not marked as ignorable
    at [Source: org.apache.commons.httpclient.AutoCloseInputStream @8eb7f9; line: 1, column: 92]
    org.codehaus.jackson.map.JsonMappingException: Unrecognized field "link" (Class org.springframework.social.facebook.FacebookProfil e), not marked as ignorable
    at [Source: org.apache.commons.httpclient.AutoCloseInputStream @8eb7f9; line: 1, column: 92]
    at org.codehaus.jackson.map.JsonMappingException.from (JsonMappingException.java:159)
    at org.codehaus.jackson.map.deser.StdDeserializationC ontext.unknownFieldException(StdDeserializationCon text.java:174)
    at org.codehaus.jackson.map.deser.StdDeserializer.rep ortUnknownProperty(StdDeserializer.java:310)
    at org.codehaus.jackson.map.deser.StdDeserializer.han dleUnknownProperty(StdDeserializer.java:296)
    at org.codehaus.jackson.map.deser.BeanDeserializer.ha ndleUnknownProperty(BeanDeserializer.java:487)
    at org.codehaus.jackson.map.deser.BeanDeserializer.de serializeFromObject(BeanDeserializer.java:344)
    at org.codehaus.jackson.map.deser.BeanDeserializer.de serialize(BeanDeserializer.java:271)
    at org.codehaus.jackson.map.ObjectMapper._readMapAndC lose(ObjectMapper.java:1142)
    at org.codehaus.jackson.map.ObjectMapper.readValue(Ob jectMapper.java:885)
    at de.amigo.facebook.FbController$_closure7.doCall(Fb Controller.groovy:210)
    at de.amigo.facebook.FbController$_closure7.doCall(Fb Controller.groovy)
    at java.lang.Thread.run(Thread.java:619)


    what am I missing ?
    Paul
Working...
X