Can someone help me understand how to use Socialcast's API with PHP? I'd like to grab the data from this URL - https://demo.socialcast.com/api/messages/search.xml?q=enterprise (note: the demo username/password are emily@socialcast.com/demo) using PHP so that I can format it and display it, but I'm not sure how to go about doing that.<p>The documentation for their API is below and unfortunately they don't provide any code samples:<p>http://developers.socialcast.com/api-documentation/api/messages/search/
I figured it out. Using the username/password as part of the URL string (i.e. <a href="https://emily@socialcast.com:demo@demo.socialcast.com/api/messages/search.xml?q=enterprise" rel="nofollow">https://emily@socialcast.com:demo@demo.socialcast.com/api/me...</a>) worked. I'm sure that there's a better way to do this, but this is just for fun anyways.