google appengine unknown url type: 'https'
gae 連 fb facebook問題
官方python sdk的facebook.py
用的是import urllib
但請用import urllib2去抓https的資料
file = urllib2.urlopen("https://graph.facebook.com/" + path + "?" +
urllib.urlencode(args), post_data)
#file = urlfetch.fetch("https://graph.facebook.com/" + path + "?" +
# urllib.urlencode(args), post_data)
否則會一直錯下去喔!

沒有留言:
張貼留言