{"action":"created","issue":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/431","labels_url":"https://api.github.com/repos/snarfed/bridgy/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/bridgy/issues/431/comments","events_url":"https://api.github.com/repos/snarfed/bridgy/issues/431/events","html_url":"https://github.com/snarfed/bridgy/issues/431","id":96344451,"number":431,"title":"facebook: /me/posts consistently 400s for some users","user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snarfed/bridgy/labels/listen","name":"listen","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-21T15:21:43Z","updated_at":"2015-07-31T16:20:10Z","closed_at":null,"body":"for a while now, we've seen a tiny trickle of FB users start permanently seeing 400s from the `/me/posts` API call, which obviously breaks poll. no details in the error response. :/\r\n\r\nthis has been happening a bit more recently. example log:\r\n\r\n```\r\nParams: UnicodeMultiDict([(u'last_polled', u'2015-07-20-17-09-02'), (u'source_key', u'aglzfmJyaWQtZ3lyGwsSDEZhY2Vib29rUGFnZSIJNTE0MTcwODc5DA')])\r\nSource: ... (Facebook) 514170879, http://brid-gy.appspot.com/facebook/514170879\r\nLast poll: http://brid-gy.appspot.com/log?start_time=1437476290&key=aglzfmJyaWQtZ3lyGwsSDEZhY2Vib29rUGFnZSIJNTE0MTcwODc5DA\r\nUsing ETag \"96b6ad2b4d329b2c662768e16f716dfa0b7fa997\", last activity id 10152893592180880\r\nFetching https://graph.facebook.com/v2.2/me/posts?offset=0&limit=50&access_token=CAAD..., kwargs {'headers': {'If-None-Match': u'\"96b6ad2b4d329b2c662768e16f716dfa0b7fa997\"'}}\r\nError 400, response body: Bad Request\r\nHTTP Error 400: Bad Request\r\nTraceback (most recent call last):\r\n...\r\n  File \"/base/data/home/apps/s~brid-gy/3.385840981807235338/tasks.py\", line 109, in post\r\n    source_updates.update(self.poll(source))\r\n  File \"/base/data/home/apps/s~brid-gy/3.385840981807235338/tasks.py\", line 161, in poll\r\n    cache=cache)\r\n  File \"/base/data/home/apps/s~brid-gy/3.385840981807235338/facebook.py\", line 104, in get_activities_response\r\n    resp = self.gr_source.get_activities_response(group_id=SELF, **kwargs)\r\n  File \"/base/data/home/apps/s~brid-gy/3.385840981807235338/local/lib/python2.7/site-packages/granary/facebook.py\", line 214, in get_activities_response\r\n    resp = self.urlopen(url, headers=headers, parse_response=False)\r\n  File \"/base/data/home/apps/s~brid-gy/3.385840981807235338/local/lib/python2.7/site-packages/granary/facebook.py\", line 1213, in urlopen\r\n    timeout=appengine_config.HTTP_TIMEOUT)\r\n...\r\nHTTPError: HTTP Error 400: Bad Request\r\n```\r\n\r\nhere's an incomplete list of user ids who have hit it recently:\r\n\r\n* [10153013291712807](https://www.brid.gy/facebook/10153013291712807)\r\n* [10153551234732738](https://www.brid.gy/facebook/10153551234732738)\r\n* [10205489002117460](https://www.brid.gy/facebook/10205489002117460)\r\n* [10205983537418744](https://www.brid.gy/facebook/10205983537418744)\r\n* [13731464](https://www.brid.gy/facebook/13731464)\r\n* [13731464](https://www.brid.gy/facebook/13731464)\r\n* [1659137334316731](https://www.brid.gy/facebook/1659137334316731)\r\n* [550539683](https://www.brid.gy/facebook/550539683)\r\n* [596817951](https://www.brid.gy/facebook/596817951)\r\n* [765235586](https://www.brid.gy/facebook/765235586)\r\n* [897547826964187](https://www.brid.gy/facebook/897547826964187)\r\n* [514170879](https://www.brid.gy/facebook/514170879)\r\n\r\n[1659137334316731](https://www.brid.gy/facebook/1659137334316731) is notable, he's been slamming the \"poll now\" button for days now, hoping it will fix this. :/\r\n"},"comment":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/comments/126738614","html_url":"https://github.com/snarfed/bridgy/issues/431#issuecomment-126738614","issue_url":"https://api.github.com/repos/snarfed/bridgy/issues/431","id":126738614,"user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T16:20:10Z","updated_at":"2015-07-31T16:20:10Z","body":"thanks @tzpazifist! we stopped seeing the error around 4pm PST yesterday. looks like FB may have fixed their bug. fingers crossed!"}}