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
- Use Device Login on Smart TV / Console
- Invisible characters – ASCII
- When do I need a fb:app_id or fb:admins?
- When do I need a fb:app_id or fb:admins?
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- og:url is driving me crazy?
- Face recognition via facebook API
- FB is not defined javascript
- 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?
- Separate registration and login for different roles
- How can I control the Facebook like image? [closed]
- How do I programmatically set default role for new users?
- Send user activation email when programmatically creating user
- How can I auto-add my posts to my site’s Facebook fan page?
- 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]
- Facebook OAuth, WP_Http::request() vs wp_remote_request()
- How to loop through each user id?
- 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]
- wordpress separate registration for different roles
- How to reload the role specific registration form on validation errors?
- Auto Delete Users (auto_delete_users)
- FB – Comment Moderation Tool bug? [duplicate]
- Is there a way to set the user Role based on email domain
- Any Facebook component doesn’t work on WordPress website after update. Why?
- Facebook sharer and parameters in URL
- How to control Facebook share information for the front page?
- How to customize wp_signon()
- sharing video on facebook from wordpress
- Adding a “most liked post” box, based on facebook ranking?
- Open graph metadata isn’t pulled on Facebook until after I run that specific link through the debugger
- Ajax Redirect role = ‘Editor’ to their Dashboard after register
- facebook like – image display and description
- Is there a method or plugin that will allow posts to be sortable by Facebook likes?
- Allow Facebook to preview posts before published
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- Is it possible a one click user registration with Facebook or Twitter (or other Social Networks)?
- Registration and Custom Post Types – How to synchronize information?
- Custom registration URL lost when user makes signup mistake
- User registration approval based on role selected
- How do I create a page for users to invite their facebook friends?
- Which social connect plugin do you recommend? [closed]
- How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?
- Facebook Like Button in Jetpack [closed]
- Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]
- How do I remove all hyperlinks that begin with a #?
- Simple plugins to post info about new blog entries?
- Force users to register in order to view website [duplicate]
- Facebook link to website logo
- Get User’s Facebook Photos as WordPress Upload
- New user created as Participant rather than Contributor [closed]
- Trigger a function immeditely after a user posted a comment
- Hiding styles from Facebook
- RSVP form for Facebook events from a WordPress post?
- WordPress comments and Facebook comments
- Building a Member Directory Site on WordPress with Facebook API Integration?
- How to give new users two specific user role options upon WordPress user registration
- WP_Cron script not updating all posts in loop
- Automatically add simple custom buttons for print, Facebook share, & Tweet in Posts [closed]
- Choices for thumbnail image in a Facebook Link post
- Displaying Facebook comments count with tag
- I want to submit multiple users if checkbox is checked
- Protect sequence of pages with same password for each of two groups of users
- 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
- Remove text from my Facebook posts
- How to create user specific pages (not user role!)?
- register_activation_hook not updating
- 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?
- fb share site shows blank image
- Facebook / LinkedIn share page – https opengraph issues [closed]
- How to integrate Facebook Share button without code?
- Facebook preview Open Graph Object Debugger
- Facebook share functionality in wordpress loop
- Limit number of users a role can create
- Integrating Facebook calender to WordPress
- Open Graph in posts loop page
- Is there a way of putting the facebook social plugins into page template php files?
- Menu page with list of users
- Conditional Facebook Share and Like links [closed]
- FB Comments box post to wall?
- Whenever I am sharing a post wordpress phrase is automatically added, can anyone help?
- Post image lacking when pasting link into Facebook despite the correct og:image meta tag
- Trouble displaying featured image as thumbnail when using Facebook share
- Website Preview Graphic for WordPress Site
- How do I set a featured image for the homepage? [closed]