开发者_如何学JAVAWhat's the best way to load a facebook cookie in google app engine (python)?
The cookies attribute (in the request class) is a dictionary of cookies. Once I get mine I have a string with & sign separating the attributes. How can I turn this easily into a dictionary?
This is the string: "access_token=value&expires=value&secret=value&session_key=value&sig=value&uid=value"
(I've tried json.loads but it didn't work)
cgi.parse_qs
精彩评论