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
3853 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
malcolm.ross
Appian Employee
over 11 years ago
Hi Wendy.. I have done this.. Use the OAuth Smart Services to call the Twitter REST API.. then use the JSON to XML function and parse the response as XML instead of JSON.. Here is an example you might use to extract all the posts from an array of twitter posts
xpathsnippet(jsontoxml(ac!ResponseBody), "/json/e/text/text()")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
malcolm.ross
Appian Employee
over 11 years ago
Hi Wendy.. I have done this.. Use the OAuth Smart Services to call the Twitter REST API.. then use the JSON to XML function and parse the response as XML instead of JSON.. Here is an example you might use to extract all the posts from an array of twitter posts
xpathsnippet(jsontoxml(ac!ResponseBody), "/json/e/text/text()")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data