How to find User's Email address?

ios
fabric

#1

i integrate twitter by using fabric. and want to get email id of logged in user. but i didn’t get. i followed all instruction that are given by https://support.twitter.com/forms/platform and also use this https://dev.twitter.com/rest/reference/get/account/verify_credentials.
i got an email from twitter to enable a check box. i enabled this check box. after all that process i clean my project and working with TWTRShareEmailViewController for getting email id.but i found these" this class doest not exist or it is not declared ". What should be done?


#2

Take a look at the link below for how to set this up in your app and get the user’s email address!

https://docs.fabric.io/ios/twitter/request-user-email-address.html


#3

https://docs.fabric.io/ios/twitter/request-user-email-address.html , i followed this link but i found this response…

 {
    "contributors_enabled" = 0;
    "created_at" = "Wed Nov 30 11:39:55 +0000 2011";
    "default_profile" = 1;
    "default_profile_image" = 0;
    description = "Software developer";
    entities =     {
        description =         {
            urls =             (
            );
        };
    };
    "favourites_count" = 2;
    "follow_request_sent" = 0;
    "followers_count" = 6;
    following = 0;
    "friends_count" = 12;
    "geo_enabled" = 0;
    "has_extended_profile" = 0;
    id = 424967484;
    "id_str" = 424967484;
    "is_translation_enabled" = 0;
    "is_translator" = 0;
    lang = en;
    "listed_count" = 0;
    location = "Nokha, Rajasthan";
    name = "Muraree pareek";
    notifications = 0;
    "profile_background_color" = C0DEED;
    "profile_background_image_url" = "http://abs.twimg.com/images/themes/theme1/bg.png";
    "profile_background_image_url_https" = "https://abs.twimg.com/images/themes/theme1/bg.png";
    "profile_background_tile" = 0;
    "profile_banner_url" = "https://pbs.twimg.com/profile_banners/424967484/1432039697";
    "profile_image_url" = "http://pbs.twimg.com/profile_images/1667595088/Image0236_normal.jpg";
    "profile_image_url_https" = "https://pbs.twimg.com/profile_images/1667595088/Image0236_normal.jpg";
    "profile_link_color" = 0084B4;
    "profile_sidebar_border_color" = C0DEED;
    "profile_sidebar_fill_color" = DDEEF6;
    "profile_text_color" = 333333;
    "profile_use_background_image" = 1;
    protected = 0;
    "screen_name" = Murareepareek;
    "statuses_count" = 3;
    "time_zone" = "New Delhi";
    url = "<null>";
    "utc_offset" = 19800;
    verified = 0;
}

in this response ,i dont have email address.


#4

If the email address isn’t returning that’s most likely either due to not having the full email permissions (which it sounds like you do) or the user’s account doesn’t have an email address associated with it or they’re choosing not to share that externally. If the account does have an email address, can you send your Twitter Consumer Key over to support(at)fabric(dot)io, referencing this thread and I’ll check the permissions on it.