WordPress.org

Forums

Facebook All
[resolved] NOt taking username (2 posts)

  1. naveenbos
    Member
    Posted 1 year ago #

    I am using your Facebook all plugin but it is not taking facebook username from facebook, it generates the username with corresponding Firstname and lastname, how can i change this? please help

    http://wordpress.org/plugins/facebookall/

  2. sourceaddons
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    for edit username
    go to FTP>wp-content/plugins/helpers/faceookall_process.php

    search below code:-

    if(!empty($fbdata['name'])) {
            $username = $fbdata['name'];
          }
          else if (!empty($fbdata['first_name']) && !empty($fbdata['last_name'])) {
            $username = $fbdata['first_name'].$fbdata['last_name'];
          }
          else {
    		$user_emailname = explode('@', $fbdata['email']);
            $username = $user_emailname[0];
          }

    please set $username according your requirement.
    let us know if you still have any issue drop email on sourceaddons@ymail.com.
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook All
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic