Tag: flickr
-
Crossdomain proxy on Google App Engine
Here’s a crossdomain proxy to pipe Javascript Ajax calls from you Google App Engine application to the Flickr API, since most browser will not let you call another domain directly. import cgi import urllib from google.appengine.ext import webapp from google.appengine.api import urlfetch class FlickrController(webapp.RequestHandler): “””Proxy for Ajax calls to flickr””” def get(self): flickrapiendpoint = ‘http://api.flickr.com/services/rest/’…