anyone know of a callback function I can call after I have done a FB api call using the PHP SDK?
If not, is there some way I can build one into the SDK?
Thanx in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This isn’t necessary, as all calls to the Facebook Graph API via the PHP SDK are synchronous. Therefore you can call any function directly after the call to the API, consider this example:
Also the PHP-SDK is Open Source, so you could also fork it, implement your feature and file a Pull Request on Github with your changes. You can find the Source at https://github.com/facebook/php-sdk.