Since Backendless Version 4 is different then the Version 3, some of the students were having issues adding friends to the user. Here is…