10 Replies Latest reply on Mar 31, 2015 6:58 PM by craig.mcclanahan

    How to get followers and following count using php??

    kumar.harshvardhan

      Hi,

       

      I am passing https://community.jivesoftware.com/api/core/v3/people through CURL to fetch people details using PHP script.

       

      I am able to print Avatar,Display Name ,Point But do not know how to get count of follower and following.

       

      I Have written echo $value['resources']['followers']['ref'] for follower and getting the result as

       

      https://community.jivesoftware.com/api/core/v3/people/34989/@followers from API.

      Any body help me to get the count of follower and following?

       

      For avatar i did like this and geeing the images from the server

      <img class='jive-avatar' src='";echo $value['resources']['avatar']['ref']; height='200' width='200' />

        This content has been marked as final.  Show 10 replies