Ask HN: Using the Socialcast API using PHP?
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.
The documentation for their API is below and unfortunately they don't provide any code samples:
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. https://emily@socialcast.com:demo@demo.socialcast.com/api/me...) worked. I'm sure that there's a better way to do this, but this is just for fun anyways.