Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
7 subscribers
Views
4534 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I am trying to display Twitter feeds as a list of titles/hyperlinks. Previously,
wendys593
over 11 years ago
I am trying to display Twitter feeds as a list of titles/hyperlinks. Previously, this was done very easily by using a Twitter RSS feed, but that is no longer supported. I am able to use the Twitter API to get the feeds in JSON format, but am having difficulty parsing it using readjson, readjsonarray functions. Does anyone have any experience in doing this, or could help me with an expression to parse the data? I have also tried using the function jsontoxml to convert to xml and use xpath, but that also does not return results. Thanks in advance....
OriginalPostID-73475
OriginalPostID-73475
Discussion posts and replies are publicly visible
Parents
0
wendys593
over 11 years ago
Thanks Malcolm! I was able to get this working exactly as you said, now the only issue is that I am getting an error with the xpath expression if I try to pull back too much data. Everything works fine for approx 10 tweets, but more than that causes an error. (xpathsnippet(jsontoxml(pv!ResponseBody), "/json/e/text/text()") (Expression evaluation error at function 'xpathsnippet': Error evaluating function 'xpathsnippet' : An error occurred while trying to parse the XML stream.) ) Have you ever seen this before? Thanks for your help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
wendys593
over 11 years ago
Thanks Malcolm! I was able to get this working exactly as you said, now the only issue is that I am getting an error with the xpath expression if I try to pull back too much data. Everything works fine for approx 10 tweets, but more than that causes an error. (xpathsnippet(jsontoxml(pv!ResponseBody), "/json/e/text/text()") (Expression evaluation error at function 'xpathsnippet': Error evaluating function 'xpathsnippet' : An error occurred while trying to parse the XML stream.) ) Have you ever seen this before? Thanks for your help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data