You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by mfranklin <gi...@git.apache.org> on 2014/07/02 15:06:29 UTC

[GitHub] incubator-streams pull request: Streams 105

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

    https://github.com/apache/incubator-streams/pull/47#discussion_r14455276
  
    --- Diff: streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftDefaultActivitySerializer.java ---
    @@ -174,6 +174,9 @@ public static ActivityObject buildActivityObject(Interaction interaction) {
             ActivityObject actObj = new ActivityObject();
             actObj.setObjectType(interaction.getContenttype());
             actObj.setUrl(interaction.getLink());
    +        actObj.setId(interaction.getId());
    --- End diff --
    
    I believe the other converters all set the id to 
    
    "id:<provider>:post:<postid>"  so if you are getting a tweet through data sift, it would be "id:twitter:post:<tweetid>"


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---