Missing data in response

3 views
Skip to first unread message

jmech

unread,
Apr 7, 2011, 11:37:49 AM4/7/11
to mini_fb
Hi All,

I want to know if any know why in some cases the response of MiniFB
don't returned all the info that i need, for example, I need the email
of users, in same cases these are nil. I suposed could be about the
privacity of this particular user, but not, because I updated my info
in facebook to not show my email to any, then I did a MiniFB.get or
MiniFB.fql to my profile in facebook and this returned my email, but
for others users not.

If anybody know about this, please help me.

Thanks.

Travis Reeder

unread,
Apr 7, 2011, 1:07:31 PM4/7/11
to min...@googlegroups.com
Maybe they don't share their email or you didn't ask for the email permission. 

Maria Eugenia Chacón

unread,
Apr 7, 2011, 2:17:01 PM4/7/11
to min...@googlegroups.com, Travis Reeder
I supose that, but for example in my facebook account I put as private my email,
but the MiniFB is showing the email:

 user_data = MiniFB.fql(user.facebook_access_token, "select email, name from user where uid = #{user.facebook_uid}")
 => [<#Hashie::Mash email="xx...@gmail.com" name="Maria Eugenia">]


But for this user and other more, i get an email nil

user_data = MiniFB.fql(facebook_access_token, "select email, name from user where uid = #{facebook_uid}")
 => [<#Hashie::Mash email=nil name="Mari Martinez">]

I'm trying to find other way to get the email to this user, but there is no way! agrrr!


Thanks.


On Thu, Apr 7, 2011 at 2:07 PM, Travis Reeder <tre...@gmail.com> wrote:
Maybe they don't share their email or you didn't ask for the email permission. 

--
You received this message because you are subscribed to the Google Groups "mini_fb" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to mini_fb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mini_fb?hl=en.

Anurag

unread,
Apr 7, 2011, 2:40:54 PM4/7/11
to min...@googlegroups.com, Maria Eugenia Chacón, Travis Reeder
On Thu, Apr 7, 2011 at 11:47 PM, Maria Eugenia Chacón <jenny.m...@gmail.com> wrote:
I supose that, but for example in my facebook account I put as private my email,
but the MiniFB is showing the email:

 user_data = MiniFB.fql(user.facebook_access_token, "select email, name from user where uid = #{user.facebook_uid}")
 => [<#Hashie::Mash email="xx...@gmail.com" name="Maria Eugenia">]


But for this user and other more, i get an email nil

user_data = MiniFB.fql(facebook_access_token, "select email, name from user where uid = #{facebook_uid}")
 => [<#Hashie::Mash email=nil name="Mari Martinez">]

I'm trying to find other way to get the email to this user, but there is no way! agrrr!


A friend's email is easily accessible if he/she has given your application the `email' permission. 

Anurag

--
Anurag <0xB20A82C1>
http://web.gnuer.org/blog/
Reply all
Reply to author
Forward
0 new messages