facebookarchive / fbconsole

A micro api client for writing scripts against the Facebook Graph API.
Other
325 stars 74 forks source link

Removing Status not made by fbconsole #10

Closed DuncanAtkin closed 12 years ago

DuncanAtkin commented 12 years ago

When trying to remove a status made on the main site using fbconsole.delete I get the following error

File "./DelComment.py", line 9, in fbconsole.delete('/'+id) File "/usr/local/lib/python2.6/dist-packages/fbconsole.py", line 239, in delete return post(path, params) File "/usr/local/lib/python2.6/dist-packages/fbconsole.py", line 225, in post return json.load(opener.open(_get_url(path), params)) File "/usr/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 435, in error return self._call_chain(_args) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(_args) File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 403: Forbidden

It works fine when the status was made via the fbconsole calls, but not when made via the site. The Id's are of a similar format too.

pcardune commented 12 years ago

I believe this is a restriction of the facebook api. Platform applications can only delete content created through them.

DuncanAtkin commented 12 years ago

I am able to delete comments on any post, even if they were not made by fbconsole just not statuses, strange if it's a half hearted sandbox! On Dec 27, 2011 6:09 AM, "Paul Carduner" < reply@reply.github.com> wrote:

I believe this is a restriction of the facebook api. Platform applications can only delete content created through them.


Reply to this email directly or view it on GitHub: https://github.com/facebook/fbconsole/issues/10#issuecomment-3279451