vendredi 8 mai 2015

Facebook graph API help out please

Can some one help me in coding with graph api.

What I want is simple I want a page which asks the user's permission to give my app his details.

I want the following details and they must be at last put into a variable as belows:

------------------+------------------------------------------------+
Details to get    |   Variable to be put into                      |
------------------+------------------------------------------------+
First Name        |    first_name_for_signup                       |
------------------+------------------------------------------------+
Last Name         |    last_name_for_signup                        |
------------------+------------------------------------------------+
Date of Birth     |    dob_for_signup                              |
------------------+------------------------------------------------+
Country           |    national_identity_for_signup                |
------------------+------------------------------------------------+
Mobile No/Email   |   jaktherover_ran                              |
------------------+------------------------------------------------+
Gender            |         healllooooo                            |
------------------+------------------------------------------------+

And also my app wants to post on their behave as follows:"Helloooo boys and girls"

Conditions are as belows:

1.) Must be Javascript and not php or any other language.

2.) Full html page should be given in the answer

Put the app id as app id I will replace it manualy

And remember

Full html code including div's and javascript should be given. If you want more please comment.

Lastly Thanks....

Aucun commentaire:

Enregistrer un commentaire