The plugin offers an entry point for this manipulation:
$userdata = apply_filters('AWD_facebook_register_userdata', $userdata);
So, now it’s a matter of you filling up the fictional function in this example:
add_filter( 'AWD_facebook_register_userdata', 'user_role_wpse_87863', 10, 1 );
function user_role_wpse_87863 ( $userdata )
{
$userdata['role'] = your_way_of_getting_the_role();
return $userdata;
}
Related:
Related Posts:
- Facebook Registration Tool: how to use in WordPress? [closed]
- Retrieving Default Image All Url Profile Picture from Facebook Graph API [closed]
- Official Facebook Connect button as PNG
- Invisible characters – ASCII
- When do I need a fb:app_id or fb:admins?
- og:url is driving me crazy?
- What are App Domains in Facebook Apps?
- How to allow an user role to create a new user under a role which lower than his level only?
- Send user activation email when programmatically creating user
- What the user_status column?
- How to remove administrator role in settings -> general -> New User Default Role?
- Automatically Facebook Debug Posts on Publish [closed]
- If your blog was an app on Facebook
- Get FaceBook Friend Count [closed]
- Prevent user creating new users with specific roles
- How to get user-meta from Social Login registered users?
- Roles at registration (classipress)
- W3 Cache plugin and Facebook sharing [closed]
- How to reload the role specific registration form on validation errors?
- Adding a “most liked post” box, based on facebook ranking?
- Ajax Redirect role = ‘Editor’ to their Dashboard after register
- Allow Facebook to preview posts before published
- User registration approval based on role selected
- How do I create a page for users to invite their facebook friends?
- How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?
- Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]
- Force users to register in order to view website [duplicate]
- Get User’s Facebook Photos as WordPress Upload
- New user created as Participant rather than Contributor [closed]
- Hiding styles from Facebook
- RSVP form for Facebook events from a WordPress post?
- How to give new users two specific user role options upon WordPress user registration
- I want to submit multiple users if checkbox is checked
- How to preserve exact formatting when copy pasting from Facebook into WordPress (or elsewhere)?
- Displaying different in-page content to cliente/admin
- Send Facebook server-side event using shortcode and Official Facebook Pixel plugin
- Posting to Facebook via WordPress – 500 Internal Error
- How to create user specific pages (not user role!)?
- How to change a user’s role conditionally to expire after two weeks
- How can I echo og:video url, if the post has video content?
- Facebook preview Open Graph Object Debugger
- Limit number of users a role can create
- Integrating Facebook calender to WordPress
- FB Comments box post to wall?
- Whenever I am sharing a post wordpress phrase is automatically added, can anyone help?
- Website Preview Graphic for WordPress Site
- How do I set a featured image for the homepage? [closed]
- Can’t access site after plugin activation
- Use Facebook PHP SDK from WPBook
- Integrate open graph protocol without plugin?
- Facebook share image wrong on post not on debugger [closed]
- No post image when pasting link into Facebook
- How to change a user role after registering in multisite?
- Facebook Like – Display counter starting at Zero?
- How to hide some users to unlogged users [closed]
- “This site is under development” when sharing on Facebook
- SFC Problem with the comment login
- Single article separated into multiple pages makes Facebook Like button detect as completely separated articles
- Unprotected page appears protected when posted to Facebook (S2Member)
- How to create a front facing user sign up, log in and profile pages like FoodGawker.Com [closed]
- Facebook comment url is unreachable
- WordPress > Error when pasting link into Facebook
- Is WordPress secure enough for a multi-user article directory?
- WP / Facebook integration – recently read articles
- open graph image being overwritten by gravatar logo?
- FB like adds WordPress install screen text to the wall
- Add a second role when registering programmatically
- Easily adding multiple existing users to a multisite site
- Assign user role by text field in WordPress (Woocommerce) [closed]
- Multiple account integration with facebook
- Facebook embeds fixing with functions.php
- How to transfer the Facebook instance articles from one WordPress to another WordPress with same domain name?
- What would cause wp_insert_user role to work sporadically?
- How to (correctly) embed a Facebook video?
- Add role selector to custom registration page
- User / membership Plugin [closed]
- image share on facebook missing
- Facebook sharing content problem
- Select dropdown with 2 choices from foreach
- Restrict certain roles registrations by domain
- Overwrite user role
- Featured Image and Facebook
- FaceBook fan-block in a text-widget
- How not to show author’s name when sharing blogposts on Facebook?
- Facebook posts on wordpress blog
- subscribe to wp through a Faceboo app
- Create Mashable Follow-like Facebook, Twitter login/connect?
- Allow users to register as a higher role than default with code
- facebook like on twenty eleven
- Problem with Simple Facebook Connect
- Right Facebook Open Graph Protocol into WordPress theme?
- get facebook status
- Facebook Comments not working in WordPress [closed]
- Post on facebook when I publish blog
- WordPress Site login problem with facebook, twitter and other social media
- How Facebook.com knows about duplicate pages on my site?
- get avatar from facebook graph [closed]
- How to assign role to a custom registration form?
- Force Jetpack to use og:url with http on an https website
- Bigger images when sharing a link with facebook