Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Support for multi-id-lookup #16

Closed
jdsingh opened this issue Jan 28, 2015 · 2 comments
Closed

[Feature request] Support for multi-id-lookup #16

jdsingh opened this issue Jan 28, 2015 · 2 comments

Comments

@jdsingh
Copy link

jdsingh commented Jan 28, 2015

A request to support multi-id-lookup.

Currently I have to use this work around to make multi-id-lookup requests.

$get = '/?ids={id-one},{id-two}&fields=id,name';
$object = Facebook::object($get)->get();

It would be great if you can make it this way...

$get = '/?ids={id-one},{id-two}';
$object = Facebook::object($get)->fields('id', 'name')->get();

or may be this way...

$object = Facebook::object('?ids')->ids->({id-one},{id-two})->fields('id', 'name')->get();
@SammyK
Copy link
Owner

SammyK commented Jan 28, 2015

Thanks for this @ijagdeepsingh! As we get closer to releasing the next stable version of the SDK I'm going to be finalizing v2.0 of the FQB. And I'll be considering your proposed API. So consider this one "queued up for 2.0 review". :)

@jdsingh
Copy link
Author

jdsingh commented Jan 28, 2015

Cool. Thanks for considering my request.

@SammyK SammyK mentioned this issue Jan 28, 2015
4 tasks
@jdsingh jdsingh closed this as completed Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants