Created
January 27, 2012 22:05
-
-
Save NorthIsUp/1691177 to your computer and use it in GitHub Desktop.
disqus list post example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@app.route("/forums/listposts/<shortname>") | |
def goodbye(shortname): | |
cu = current_user() | |
if cu: | |
return str(disqus.forums.listPosts(access_token=cu.access_token, forum=shortname)) | |
else: | |
return "not auth'd!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment