Fetching by ID doesn't return map or oembed #109

Closed
kristjan opened this Issue Jun 26, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Fetching https://api.singly.com/id/04e34fb42d739fe7d3de23b50b7b0c8c_5e55a7884 doesn't return the oembed object attached when the item is accessed via /types/news. Similarly, adding ?map=true has no effect.

Channeling @quartzjer, adding map is easy. We can add a ?oembed=news hint to /id/:id to get the oembed data assuming it's that type. Otherwise, it may have multiple types (tweet containing a link and a photo) and we don't know which to resolve to.

quartzjer added a commit to Singly/hallway that referenced this issue Jul 9, 2012

added map support, I'm going to close this and defer the oembed part that shares code w/ the /types/ functions that may get refactored some after or during adding webhooks push support.

@kristjan kristjan closed this Jul 10, 2012

jerbob92 pushed a commit to jerbob92/hallway-original that referenced this issue Nov 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment