There is not a capacity to automatically assign constituency codes to accounts that come in via a Friends Asking Friends event.

Constituency codes are either created manually in the account by the organization, or through the use of a Batch Update, in order to apply them to an account.