Gursimrat
11 years agoLeader
Get user profile details
I want to get the user profile details on the viewprofile page, I can get the user registration time via ${page.context.user.registrationTime} etc, how can I get following:
Location, Bio, personal webpage and others which are available at /t5/user/myprofilepage/tab/personal-profile%3Apersonal-info
profile can be find here
http://community.lithium.com/restapi/vc/users/id/{userid}/settings?page_size=100&page=2
<setting name="profile.kudos_user_leaderboard_time" type="string">one_month</setting> <setting name="profile.label.delivery_enable" type="string">true</setting> <setting name="profile.label.in_app_delivery_enable" type="string"/> <setting name="profile.label.sub_email_delivery_freq" type="string">immediate</setting> <setting name="profile.language" type="string">en</setting> <setting name="profile.location" type="string"/> <setting name="profile.login_autogenerated" type="string"/> <setting name="profile.macro_1" type="string"/>
you can see the value via http://community.lithium.com/restapi/vc/users/self/profiles/name/location
bio and etc should be similar.