<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MacSAS Macro to read JSON formatted tweets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300616#M63508</link>
    <description>&lt;P&gt;Thank you very much for your response, most appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached the macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Sep 2016 15:12:30 GMT</pubDate>
    <dc:creator>crimbo</dc:creator>
    <dc:date>2016-09-25T15:12:30Z</dc:date>
    <item>
      <title>Macro to Scrap Twitter - SAS Macro to read JSON formatted tweets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300384#M63434</link>
      <description>&lt;P&gt;I have a macro to scrap tweets on Twitter and return details of the tweet in columns. &amp;nbsp;The macro is using PROC HTTP. &amp;nbsp;When i run the macro i get the following error messages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Host name resolution failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Host name resolution failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does this mean i am failing to access the Twitter page through their API?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does SAS University Edition able to write and read JSON files?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 14:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300384#M63434</guid>
      <dc:creator>crimbo</dc:creator>
      <dc:date>2016-09-23T14:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to Scrap Twitter - SAS Macro to read JSON formatted tweets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300408#M63447</link>
      <description>&lt;P&gt;You would need to provide some code, how are you connecting, are you providing correct login details etc. &amp;nbsp;Proc http requires correct signin details, and connection. &amp;nbsp;You might want to set it up in conjunction with your IT group, and make sure passwords and such like are encrypted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS UE is principally a learning edition, it doesn't have full functionality either, and as its installed on Linu image rather than your local machine this could also be a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for Json, there is no out of the box reader as far as I am aware. &amp;nbsp;However, it is plain text, so should be pretty easy to read in and parse, however as you are using a learning edition of SAS it sounds like your learning, so maybe not the best task to start with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the phrase is "scrape" the data, although I would quite happily scrap social media!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 15:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300408#M63447</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-09-23T15:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: MacSAS Macro to read JSON formatted tweets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300616#M63508</link>
      <description>&lt;P&gt;Thank you very much for your response, most appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached the macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 15:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300616#M63508</guid>
      <dc:creator>crimbo</dc:creator>
      <dc:date>2016-09-25T15:12:30Z</dc:date>
    </item>
    <item>
      <title>SAS Macro to read JSON formatted tweets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300653#M63526</link>
      <description>&lt;P&gt;Further to my last post, i managed to find a solution with a simple code in R. &amp;nbsp;Once again thank you very much for your input&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 21:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-Scrap-Twitter-SAS-Macro-to-read-JSON-formatted-tweets/m-p/300653#M63526</guid>
      <dc:creator>crimbo</dc:creator>
      <dc:date>2016-09-25T21:25:54Z</dc:date>
    </item>
  </channel>
</rss>

