I am trying to display Twitter feeds as a list of titles/hyperlinks. Previously,

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
  • 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!
Reply
  • 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!
Children
No Data