I want to send a JSON object to facebook, but only using javascript/ajax i.e client side scripting language
the problem is how to send the user credentials in the JQuery/JSON twitter/fb API calls.
my user credentials are from facebook OAuth.
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.
I’m still not sure what you mean by “send a JSON object to facebook” but I’ll try to answer what I do understand.
In the documentation they include an example of how it’s done, go to the section titled Client-side Flow.
You can also use the javascript sdk of course, something like:
This will first check if the user is already logged in and authorized your app, if not will try to. The code is not tested in anyway, I “glued” it from different examples.
Please read the documentation of the sdk.