শনিবার, ২২ জানুয়ারী, ২০১১

Sign up Sign in

Sign up Sign in: "

Signupin is an authentication system, it allows to establish a connection only to authorized users. Signupin keeps the connection during a maximum of time indicated by the “expi” option, the default value is 2 hours, then a new login is needed. Signupin allows an authomatic sign up, it sends the password to the email address indicated by the new user. Signupin keep track of the user info and allows to retrieve the lost password by sending it to the user email address under request. Signupin uses a particular captcha, it writes the numbers as words, then the user must enter the numbers as digits. Signupin shows an ui available in five different languages, it allows to set the default language through the “dlan” option.

"

বৃহস্পতিবার, ৬ জানুয়ারী, ২০১১

use facebook graph api to socialize your appliation

  • Register the application at http://www.developer.facebook.com/setup to get an app ID and secret. Your Facebook app ID is your client_id and your Facebook application secret is your client_secret.
  • Redirect the user to https://graph.facebook.com/oauth/authorize with your client_id and the URL the user should be redirected back to after the authorization process (redirect_uri):
                       
    https://graph.facebook.com/oauth/authorize?
    client_id=...&
    redirect_uri=http://www.example.com/oauth_redirect
  • After the user authorizes your application, we redirect the user back to the redirect URI you specified with a verification string in the argument code, which can be exchanged for an oauth access token. Exchange it for an access token by fetching https://graph.facebook.com/oauth/access_token. Pass the exact same redirect_uri as in the previous step:
    https://graph.facebook.com/oauth/access_token?
    client_id=...&
    redirect_uri=http://www.example.com/oauth_redirect&
    client_secret=...&
    code=...
  • Use the access token returned by the request above to make requests on behalf of the user:
                      https://graph.facebook.com/me?access_token=...