Skip to content

Commit

Permalink
Updated index
Browse files Browse the repository at this point in the history
  • Loading branch information
gsathya committed Sep 17, 2011
1 parent 5932950 commit 7fa3dbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exampleapp.py
Expand Up @@ -129,11 +129,13 @@ def index():
SEND_TO = ('https://www.facebook.com/dialog/send?'
'redirect_uri=%s&display=popup&app_id=%s&link=%s'
% (redir, FBAPI_APP_ID, get_home()))

'''
return render_template(
'index.html', appId=FBAPI_APP_ID, token=access_token, likes=likes,
friends=friends, photos=photos, app_friends=app_friends, app=app,
me=me, POST_TO_WALL=POST_TO_WALL, SEND_TO=SEND_TO)
'''
return render_template(index1.html,app=app)
else:
print oauth_login_url(next_url=get_home())
return redirect(oauth_login_url(next_url=get_home()))
Expand Down

0 comments on commit 7fa3dbc

Please sign in to comment.