|
Written by Administrator
|
|
Saturday, 05 September 2009 23:20 |
|
Importing of Facebook Fields
Some Facebook fields are imported only once, when the user registers. These fields are unlikely to change, so there is no sense wasting bandwidth to re-import them every time the profile is updated. The user can always update them manually. The fields that are only imported upon user registration are:
- Birthday
- Sex
- Locale
- Hometown location
- Timezone
All of the other Facebook fields are imported upon registration AND every time the user logs in if you have set "Import user profiles" in the JomSocial Facebook Connect configuration set to "Yes"
NOTE: Importing all of this data takes a lot of time, especially if facebook.com is under a heavy load. It is recommended that you set "Import User Profile" to "No". This data IS imported upon registration, regardless of how "Import User Profiles" is set. This does not affect the importing of avatars or status messages.
The following is a list of all fields imported from Facebook:
- About Me - If you define this field, you should set the profile field type to "textarea"
- Activities - If you define this field, you should set the profile field type to "textarea"
- Birthday - This is hard-coded to the "FIELD_BIRTHDAY" profile field.
- Books - If you define this field, you should set the profile field type to "textarea"
- Current Location - This is hard-coded to the "FIELD_CITY", "FIELD_STATE" and "FIELD_COUNTRY" profile fields
- Education History - Only the first element of this array (the newest entry) is returned. It is hard-coded to the "FIELD_COLLEGE" and "FIELD_GRADUATION" profile fields.
- Hometown Location - This is hard-coded to the "FIELD_HOMETOWN" profile field.
- Interests - If you define this field, you should set the profile field type to "textarea"
- Locale - Hard-coded to set the Joomla language to correspond to this field.
- Movies - If you define this field, you should set the profile field type to "textarea"
- Music - If you define this field, you should set the profile field type to "textarea"
- Political - If you define this field, you should set the profile field type to "textarea"
- Profile URL - The URL to the user's Facebook page. If you define this field, you should set the profile field type to "textbox"
- Quotes - If you define this field, you should set the profile field type to "textarea"
- Relationship Status - Married, Single, Engaged, etc. Should be profile field type "textbox".
- Sex - Male or Female. Hard-coded to the Jomsocial profile field "FIELD_SEX"
- Timezone - Hard-coded to set the Joomla timezone to correspond with this.
- TV Shows - If you define this field, you should set the profile field type to "textarea"
- Website - If you define this field, you should set the profile field type to "textbox"
Please note that Facebook Connect applications are bound by the privacy settings implemented by the user on Facebook. If the user only has the month and day of birth published on Facebook, the year of birth will not be imported.
|