Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

A possible strategy for maintaining a verified association might look something like this:

  1. Gather a reference account from the user, similar to http://soapi.info/findusers.aspx, and upon user selection.
  2. Gather and verify an email address from your user.
  • make it clear that this email address should be the primary email address with which they sign into stackxxxx
  1. compare the email_hash of the selected User to the MD5 hash of the verified email address (lower cased) and if a match occurs, create the association on your site.

You now have a verified association. You can then use the association_id, if any, of the reference user to get any other accounts the user may have in the stack exchange network.

NOTE: you will soon see an example of this in the samples for Soapi.CSSoapi.CS and Soapi.JS2Soapi.JS2

A possible strategy for maintaining a verified association might look something like this:

  1. Gather a reference account from the user, similar to http://soapi.info/findusers.aspx, and upon user selection.
  2. Gather and verify an email address from your user.
  • make it clear that this email address should be the primary email address with which they sign into stackxxxx
  1. compare the email_hash of the selected User to the MD5 hash of the verified email address (lower cased) and if a match occurs, create the association on your site.

You now have a verified association. You can then use the association_id, if any, of the reference user to get any other accounts the user may have in the stack exchange network.

NOTE: you will soon see an example of this in the samples for Soapi.CS and Soapi.JS2

A possible strategy for maintaining a verified association might look something like this:

  1. Gather a reference account from the user, similar to http://soapi.info/findusers.aspx, and upon user selection.
  2. Gather and verify an email address from your user.
  • make it clear that this email address should be the primary email address with which they sign into stackxxxx
  1. compare the email_hash of the selected User to the MD5 hash of the verified email address (lower cased) and if a match occurs, create the association on your site.

You now have a verified association. You can then use the association_id, if any, of the reference user to get any other accounts the user may have in the stack exchange network.

NOTE: you will soon see an example of this in the samples for Soapi.CS and Soapi.JS2

Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

A possible strategy for maintaining a verified association might look something like this:

  1. Gather a reference account from the user, similar to http://soapi.info/findusers.aspx, and upon user selection.
  2. Gather and verify an email address from your user.
  • make it clear that this email address should be the primary email address with which they sign into stackxxxx
  1. compare the email_hash of the selected User to the MD5 hash of the verified email address (lower cased) and if a match occurs, create the association on your site.

You now have a verified association. You can then use the association_id, if any, of the reference user to get any other accounts the user may have in the stack exchange network.

NOTE: you will soon see an example of this in the samples for Soapi.CS and Soapi.JS2