Firstly create Facebook api read this doc http://techjoomla.com/documentation-for-broadcast/configuring-the-social-plugins-techjoomla-native-api-plugins.html
Step:
Go to Facebook plugin configuration in backend.
In backend configuration of Facebook plugin you will see there are two parameters
1)Mapping Fields For Jomsocial
2)Mapping Fields for Community Builder
1)Mapping Fields For Jomsocial
Here are the fields that are supported for linkedin copy this to backend Facebook plugin(TechjoomlaAPI group) in Mapping Field For JomSocial[For ProfileImport]
FIELD_ABOUTME=bio
FIELD_ADDRESS=location
FIELD_BIRTHDATE=birthday
FIELD_CITY=city
FIELD_STATE=state
FIELD_COLLEGE=education
FIELD_COUNTRY=country
FIELD_GENDER=gender
FIELD_GRADUATION=graduation
FIELD_MOBILE=contact_number
FIELD_LANGUAGES=languages
FIELD_INTERESTS=interests
FIELD_WORK=work
This contains the information about the fields in Facebook that will be mapped with Jomsocial.
Enter the Jomsocial Field Code in left hand side of '=' and Facebook fields on right hand side of '='
Note That every mapping field is seperated by newline.
You can get Jomsocial Field code in backend configuration in custom field tabs.In screenshot given below Field code copy to left side of '='
All fields from the API documentation here are supported in the Facebook API.Copy these fields on right side of '='.
Mapping Fields For Community Builder
Here are the fields that are supported for linkedin coppy this to backend Facebok plugin(TechjoomlaAPI group) in Mapping Field For CB[For ProfileImport]
avatar=picture-url
firstname=first_name
lastname=last_name
This contains the information about which fields in Facebook will be mapped with Community Builder.
Enter the Community Builder Field name in left hand side of '=' and Facebook fields on right hand side of '='
Note That every mapping field is separated by newline.
You can get Community Builder Field name in backend configuration in of Community Builder->field Management .In screenshot given below copy Field name on left side of '='