We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The graph API supports a request variable, metadata which brings back extra information about the object.
metadata
/me?fields=id,email&metadata=1
Is there a way to retrieve this info using this library?
In my case I'm specifically looking for the type of the object, and as far as I can tell this is the only way to do so.
type
The text was updated successfully, but these errors were encountered:
Yep! You can add any modifier on a GET request by using the with() method:
with()
$me_and_meta = $fqb->object('me') ->fields('id', 'email') ->with(['metadata' => 1]) ->get();
Sorry, something went wrong.
Amazing! Thanks so much
No problem! :)
No branches or pull requests
The graph API supports a request variable,
metadata
which brings back extra information about the object.Is there a way to retrieve this info using this library?
In my case I'm specifically looking for the
type
of the object, and as far as I can tell this is the only way to do so.The text was updated successfully, but these errors were encountered: