thats when I get the “Friend id is not sent with request” error
granted some of the users on my list isnt real users because they were added by just putting any name into the friend.add() function. but they all get the same info in them. But they wont disapere from the list and all get the same error.
no, its just that the user_id is the same as friend_id in that instance since the user is me. I am my own best friend I guess you could say but the results are the same with all other “friends” I have on the list. Sorry if I was abit confusing with the example I chose to delete.
What I was pointing out is not the actually value of the ID, but rather the parameter name.
In the command you showed you posted it has the parameter ‘user_id’, thats incorrect, you need to pass ‘friend_id’.
Even if you are adding yourself, you still need to use friend_id. The idea is now these users in your friend lists are ‘friends’, so to identify them you need to pass ‘friend_id’.
also, I see now that I need to get the userprofile of each one in order to get their username… would it be possible to add the username to the information retrived by friends.getAll()? so we dont have to go and do an extra operation in order to get the username? Or is there an easier way than cloud.getProfile( friend_id ) -> then pick out the username from the event.response ? Just would seem logical to display friends by names and not ids
You guys did a great job of describing the management of friends. Is there any chance that managing friends sample code will be added into gameNetwork_Sample? Thanks… Steve
SCRATCH THAT - there is a friends option you just need to enable it in the sample code. Add a 6th option and button in the main screen and you are off…
SCRATCH THAT - there is a friends option you just need to enable it in the sample code. Add a 6th option and button in the main screen and you are off…
I am missing something here… Can you let me know what you did from the Corona code perspective to get Friends Management going… Friend button is fine but I guess I am missing something basic…
You guys did a great job of describing the management of friends. Is there any chance that managing friends sample code will be added into gameNetwork_Sample? Thanks… Steve
SCRATCH THAT - there is a friends option you just need to enable it in the sample code. Add a 6th option and button in the main screen and you are off…
SCRATCH THAT - there is a friends option you just need to enable it in the sample code. Add a 6th option and button in the main screen and you are off…
I am missing something here… Can you let me know what you did from the Corona code perspective to get Friends Management going… Friend button is fine but I guess I am missing something basic…