10/29/08 9:29AM  The FriendFeed API has a Python client library,
so I thought I'd try it out with App Engine. It took a few
tweaks to friendfeed.py, but it was pretty easy to get
everything working.  First, I had to change the import line for
simplejson:  #import simplejson from django.utils import
simplejson  Second, I needed to switch to using App Engine's URL
Fetch API for the HTTP requests:  from google.appengine.api
import urlfetch  This required a few adjustments to the
FriendFeed class' _fetch() method. I moved the auth check to the
top because it flowed a bit better and changed one line in that
clause:  headers = {} if self.auth_nickname and self.auth_key:
pair = "%s:%s" % (self.auth_nickname, self.auth_key)   token =
base64.b64encode(pair)   #request.add_header("Authorization",
"Basic %s" % token)   headers['Authorization'] = 'Basic %s' %
token  Then I changed the post_args lines:  if post_args is not
None:   #request = urllib2.Request(url,
urllib.urlencode(post_args))   result = urlfetch.fetch(url