[This is preliminary documentation and is subject to change.]

This method is used to create an association between an external user account and a Facebook user account.

Namespace:  Facebook.Api.Controllers
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public FacebookResponse<List<string>> RegisterUsers(
	string[] accounts
)
Visual Basic (Declaration)
Public Function RegisterUsers ( _
	accounts As String() _
) As FacebookResponse(Of List(Of String))
Visual C++
public:
FacebookResponse<List<String^>^>^ RegisterUsers(
	array<String^>^ accounts
)

Parameters

accounts
Type: array< System..::.String >[]()[]
An array of up to 1,000 arrays, or "maps," where each map represent a connected account. Each map can have the following properties:
  • CopyC#
    email_hash
    : The public email hash of remote account. This property is required. Compute the
    CopyC#
    email_hash
    property as follows:
  1. Normalize the email address. Trim leading and trailing whitespace, and convert all characters to lowercase.
  2. Compute the CRC32 value for the normalized email address and use the unsigned integer representation of this value. (Note that some implementations return signed integers, in which case you will need to convert that result to an unsigned integer.)
  3. Compute the MD5 value for the normalized email address and use the hex representation of this value (using lowercase for
    CopyC#
    A
    through
    CopyC#
    F
    ).
  4. Combine these two value with an underscore.
    For example, the address
    CopyC#
    mary@example.com
    converts to
    CopyC#
    4228600737_c96da02bba97aedfd26136e980ae3761
    .
  • CopyC#
    account_id
    : The user's account ID on the Facebook Connect site. This property is optional. If you specify the
    CopyC#
    account_id
    property, then you must also set a Connect Preview URL in your application's settings in order to generate a full user URL. The Connect Preview URL contains an
    CopyC#
    account_id
    parameter, such as http://www.example.com/profile.php?user=
    CopyC#
    account_id
    .
  • CopyC#
    account_url
    : The URL to the user's account on the Facebook Connect site. This property is optional. If you specify the
    CopyC#
    account_url
    property, that URL will be used directly.
Facebook recommends that you specify at least one of either the
CopyC#
account_id
or the
CopyC#
account_url
properties.

Return Value

[Missing <returns> documentation for "M:Facebook.Api.Controllers.ConnectController.RegisterUsers(System.String[])"]

See Also

ConnectController Class
Facebook.Api.Controllers Namespace