|
您好:請問我使用初學特訓班的範例,並修改了自己的token
會跑下列的錯誤訊息: runfile('C:/Users/Mingo/untitled1.py', wdir='C:/Users/Mingo') Traceback (most recent call last):
File "<ipython-input-10-232290b0a0f6>", line 1, in <module> runfile('C:/Users/Mingo/untitled1.py', wdir='C:/Users/Mingo')
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 866, in runfile execfile(filename, namespace)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Mingo/untitled1.py", line 10, in <module> graph.put_like(p['id'])
File "C:\ProgramData\Anaconda3\lib\site-packages\facebook\__init__.py", line 171, in put_like return self.put_object(object_id, "likes")
File "C:\ProgramData\Anaconda3\lib\site-packages\facebook\__init__.py", line 144, in put_object method="POST")
File "C:\ProgramData\Anaconda3\lib\site-packages\facebook\__init__.py", line 272, in request raise GraphAPIError(result)
GraphAPIError: (#3) Publishing likes through the API is only available for page access tokens |