Github user robdouglas commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/76#discussion_r16794637
  
    --- Diff: 
streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/api/FacebookPostActivitySerializer.java
 ---
    @@ -76,6 +80,16 @@ public Activity deserialize(Post post) throws 
ActivitySerializerException {
             parseObject(activity, mapper.convertValue(post, ObjectNode.class));
             fixObjectId(activity);
             fixContentFromSummary(activity);
    +        activity.setVerb("post");
    +        List<String> links = Lists.newLinkedList();
    +        links.add(post.getLink());
    +        activity.setLinks(links);
    +        ensureExtensions(activity).put("facebook", post);
    --- End diff --
    
    don't you only need to call ensureExtensions once?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to