{"action":"created","issue":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/305","labels_url":"https://api.github.com/repos/snarfed/bridgy/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/bridgy/issues/305/comments","events_url":"https://api.github.com/repos/snarfed/bridgy/issues/305/events","html_url":"https://github.com/snarfed/bridgy/issues/305","id":47082612,"number":305,"title":"facebook: /me/posts returns objects with ids with colons","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"},{"url":"https://api.github.com/repos/snarfed/bridgy/labels/now","name":"now","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2014-10-28T21:17:30Z","updated_at":"2015-04-10T18:14:27Z","closed_at":null,"body":"very weird. @aaronpk reported that bridgy sent him duplicate responses this morning, e.g. on http://aaronparecki.com/notes/2014/09/02/4/drhorrible. here are example original and duplicated u-urls:\r\n* https://facebook.com/11500459/posts/10101595978024156?comment_id=10101596203522256\r\n* https://facebook.com/11500459/posts/11500459:10101595978024156:63?comment_id=10101596203522256\r\n\r\nnote the odd (bad) colon-formatted post id in the dupe. FB evidently returned comment ids like these in a single `/me/posts` API call, 2014-10-28 16:53:24 UTC. [log here.](https://brid-gy.appspot.com/log?start_time=1414515151&key=aglzfmJyaWQtZ3lyGgsSDEZhY2Vib29rUGFnZSIIMTE1MDA0NTkM) polls for @aaronpk's acccount since then have received normal comment ids, without colons."},"comment":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/comments/91641531","html_url":"https://github.com/snarfed/bridgy/issues/305#issuecomment-91641531","issue_url":"https://api.github.com/repos/snarfed/bridgy/issues/305","id":91641531,"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-04-10T18:14:27Z","updated_at":"2015-04-10T18:14:27Z","body":"ugh, ok. thanks for letting us know. we'll get them working.\r\n\r\n@kylewm, i definitely get [your proposal](https://github.com/snarfed/bridgy/issues/305#issuecomment-90794118), but i wonder if we can get away with less parsing and converting between id formats. an alternative would be to store new, non-dupe colon ids as is, instead of normalizing to the old format.\r\n\r\n...however, we'd still need to parse and convert every colon id to check whether it's a dupe...and we'd need to add similar new logic for every new id format they throw at us...so i dunno. i wonder if there's a way to avoid the parsing altogether, and still avoid most (if not all?) dupes. meh. thoughts?"}}