GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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.
add map support for ids, mostly fixes Singly/API#109
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.