Open GoogleCodeExporter opened 9 years ago
can you please provide with api link for friend birthday on facebook. i can
then help you to implement it.
Original comment by vineet.a...@3pillarglobal.com
on 5 Nov 2013 at 7:50
I have used following Fql query to get friends list with uid,name,birthdate and
picture:
SELECT uid, name, birthday_date, pic_square FROM user WHERE uid IN (SELECT uid2
FROM friend WHERE uid1=me())
Original comment by basim.ma...@tkxel.com
on 5 Nov 2013 at 8:04
please check graph api call.
Original comment by vineet.a...@3pillarglobal.com
on 5 Nov 2013 at 8:06
https://graph.facebook.com/me/friends?fields=id,name,birthday
Original comment by basim.ma...@tkxel.com
on 5 Nov 2013 at 8:09
I will revert you soon.
Original comment by vineet.a...@3pillarglobal.com
on 5 Nov 2013 at 8:39
Hi Basim,
i was not available these days.
You can use api method for custom calls.
Original comment by vineet.a...@3pillarglobal.com
on 21 Nov 2013 at 9:36
Please add permissions in property file .for DOB
twittweAdapter.getContactListAsync(new ContactDataListenerForTwitter());
public class ContactDataListenerForTwitter implements
SocialAuthListener<List<Contact>> {
@Override
public void onError(SocialAuthError arg0) {
// TODO Auto-generated method stub
}
@Override
public void onExecute(String provider, List<Contact> t) {
// TODO Auto-generated method stub
List<Contact> contactsList = t;
Log.e("MyContacts", "" + contactsList);
FRIENDSLIST=new ArrayList<HashMap<String,String>>();
FRIENDSLIST.clear();
for (int i = 0; i < contactsList.size(); i++) {
Contact bean = contactsList.get(i);
HashMap<String, String> map=new HashMap<String, String>();
map.put("DisplayName", bean.getDisplayName());
map.put("Id", bean.getId());
map.put("profileImageURL", bean.getProfileImageURL());
FRIENDSLIST.add(map);
}
pDialog.dismiss();
GetFriendsListAdapter adapter =new GetFriendsListAdapter(Social_Friend_List.this, FRIENDSLIST);
lv.setAdapter(adapter);
}
}
Original comment by guru2010j
on 30 Nov 2013 at 2:42
Hi,
As Guru said , you need to provide birthdate persmission in properties file and
use teh custom call with api method.
Original comment by vineet.a...@3pillarglobal.com
on 2 Dec 2013 at 9:22
Original comment by vineet.a...@3pillarglobal.com
on 5 Dec 2013 at 7:41
Hi,
(Access Token)
I am using custom API
call(https://graph.facebook.com/me/friends?fields=id,name,birthday&access_token=
value),i have set permission and all prerequisite as well.As for getting
friends birthday list Access Token is mandatory,i have that as well by using
the code snippets(adapter.getCurrentProvider().getAccessGrant().getKey()).
The problem is that, That still there is no birthday in the response,Its
working fine in(Graph API Explorer).
Kindly for Once take my Request in your kind consideration(As i am posting
since an year,but have not even a single reply).
thanks
Original comment by engrsult...@gmail.com
on 12 Dec 2013 at 6:17
Original issue reported on code.google.com by
basim.ma...@tkxel.com
on 5 Nov 2013 at 6:15