Suggest me the steps to create Facebook friends list in Android application using Facebook API please
Asked
Active
Viewed 139 times
-7
-
1did you try something on yourself ? – Murtaza Khursheed Hussain Apr 22 '15 at 05:29
-
this is not the place to ask for code straight. You have to try something on yourself first – Murtaza Khursheed Hussain Apr 22 '15 at 05:29
-
i am also tried but something is wrong so i don't understand what problem occurred,please suggest me – Deeksha Tiwari Apr 22 '15 at 05:36
-
1"something" is wrong? what is "something"? do you get any errors? what have you tried? what exactly do you want to achieve? – andyrandy Apr 22 '15 at 07:18
-
There was no error but that can't show my facebook friends list in listview and return same page after login – Deeksha Tiwari Apr 22 '15 at 07:21
-
you need to edit your question and include the code. don´t post part of your question as answer. – andyrandy Apr 22 '15 at 07:22
-
Please suggest me what can we do for getting friends list in listview in android application – Deeksha Tiwari Apr 22 '15 at 07:39
-
i use that code but noone friends list shown in my application.I dont know what exactly we do for getting Facebook friends list in listview – Deeksha Tiwari Apr 22 '15 at 07:42
-
1I still can't see your code... – ByteHamster Apr 25 '15 at 05:49
1 Answers
0
First of all, you need to authorize with the user_friends
permission to get friends.
That being said, it´s not possible to get all friends anymore, /me/friends only returns friends who authorized your App too. More details can be found in the answer of this thread: Facebook Graph Api v2.0+ - /me/friends returns empty, or only friends who also use my app
Also, publish_stream
is deprecated since many years. If you want to post to the user wall, use publish_actions
.