Skip to content

Pull Profile Image #14

@eliashajj

Description

@eliashajj

Hello,

I am trying to pull the user profile picture but with no luck.

I tried

var facebook=require(rebel.facebook)

and after login, I tried these two options:

facebook.requestWithGraphPath"/me",params,'GET',function(e){
    Ti.API.info("http://graph.facebook.com/"+e.result.id+"/picture");
});

which gave a javascript error
and:

facebook.me(function(e){
    Ti.API.info("http://graph.facebook.com/"+e.result.id+"/picture");
});

This one gave an error on the result. If I just trace "e", it contains the user id and the full name only, not even the email.

Can you please point out if these options are available and which function to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions