You can do /facebook/VERSION/fetch/{$id} or /instagram/VERSION/fetch/{$id}.