https://developers.facebook.com/apps/
facebook = OAuth2Service(name='facebook',
authorize_url='https://graph.facebook.com/oauth/authorize',
access_token_url='https://graph.facebook.com/oauth/access_token',
client_id=config.get('FACEBOOK', 'client_id'),
client_secret=config.get('FACEBOOK', 'client_secret'),
base_url='https://graph.facebook.com/',
)
https://github.com/a0726h77/opensourcefeeds.tw/blob/master/wsgi/app/controllers/facebook.py
沒有留言:
張貼留言