0 Replies Latest reply on Oct 31, 2016 7:34 AM by dmariano002

    Get data from RSS Feeds service

    dmariano002

      Hi Ryan Rutan, Nils Heuer

       

      I am developing a Custom Tile and I am trying to get the feeds from the group/feeds service using the osapi.http.get and the response is retrieving a 401 status error (when the Basic Authentication from the adminConsole / Feeds is true) and a 403 status error (when the Basic Authentication from the adminConsole / Feeds is turned off) . I tried adding the 'authz': 'signed' field in the call but still not working.

       

      I cannot make a direct ajax calls using things like the $.ajax function for CORS reasons (I am doing the request from my Custom Tile, so different domain). I was searching on the community and I found that exist the jive osapi.jive.connects.get, I do not know if this is a possible solution. (Accessing data via Jive Connects API )

       

      I try with osapi.jive.core.get and did not work. Please see my comment on this thread:

      Jive REST API call from Jive hosted App - 401 Error

       

      Here my code:

                  osapi.http.get({

                      'authz': "signed",

                      'href': "https://my-community/groups/feeds/allcontent?socialGroup=1267" ,

                      'noCache': true,

                      'format': 'xml'

                  }).execute(function(response) {

                  });

       

      If you could get back with some solution would be great, at this point I do not have many others cases to test.

       

      Thanks