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
Facebook Graph 2.0 lists username (along with locations, bio) field as deprecated.
But it's nice to have the username while we still can.
// grab username for user {$response->id} $client->setBaseUrl('http://graph.facebook.com/' . $response->id); $request = $client->get()->send(); $info = $request->json(); $username = $info['username']; // one shot $username = json_decode(file_get_contents('http://graph.facebook.com/'.$data->uid))->username
The text was updated successfully, but these errors were encountered:
Is this a suggestion or a question?
If its a suggestion could you make it into a PR please? :)
Sorry, something went wrong.
It was a suggestion, and I can gladly send a PR shortly. :)
Awesome! Thank you. :)
This is covered by PR #98, so I'm closing this issue. @xhezairi, please take a look at my latest comment on the PR. Thanks!
No branches or pull requests
Facebook Graph 2.0 lists username (along with locations, bio) field as deprecated.
But it's nice to have the username while we still can.
The text was updated successfully, but these errors were encountered: