facebook に投稿するスクリプトを Github からダウンロードし、Api トークンとグループ ID で構成したのですが、実行すると 41 行目の構文エラーが表示され、エラーの場所がわかりません。は。
#-*- coding: utf-8 -*-
import time
from facepy import GraphAPI
api = ""
graph = GraphAPI(api)
message = '''
Add all your contents to be posted to facebook groups here
'''
# Find the ids of your desired groups from http://lookup-id.com/
# and add this in this array groups
groups = [ '273873207240416' ]
for group_id in groups:
print "Posting to " + 'https://www.facebook.com/groups/' + str(group_id)
graph.post(path =str(group_id) + '/feed', message=message)
time.sleep(10)
print "Done"