Roland Huss created CAMEL-18108:
-----------------------------------

             Summary: Add a id_str field to Twitter payload
                 Key: CAMEL-18108
                 URL: https://issues.apache.org/jira/browse/CAMEL-18108
             Project: Camel
          Issue Type: New Feature
          Components: camel-twitter
    Affects Versions: 3.16.0
            Reporter: Roland Huss


Since Twitter IDs as unsigned 64-bit integer values that [cannot be handled 
fully by 
JavaScript|https://github.com/Twitter4J/Twitter4J/pull/276#issuecomment-1125688911],
 the exposed {{id}} field as an integer can not be sealed with JavaScript. 
[Twitter has a {{id_str}} field in its REST 
API|https://developer.twitter.com/en/docs/twitter-ids], however, Twitter4J does 
not add this field to its response.

Also, since [Twitter4J|https://github.com/Twitter4J/Twitter4J/pull/276] seems 
to refuse to add this field, it would be great if Camel could re-add it to its 
Twitter-related components. 

For a quick fix, I also created 
[https://github.com/apache/camel-kamelets/issues/925] so that this issue could 
be circumvented on the Camel-K level for Kamelet users.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to