Support Topics Documentation Slack YouTube Blog

Implement Follow/Unfollow In Backendless?

I recently moved from parse and I want to know how to implement the follow/unfollow in Backendless. In parse it was a matter of using pointers but i do not have any idea of how to do that here. Sample code will be appreciated for both android and iOS. Thank you

In backendless you use relations. Use BackendlessUser custom properties and store a collection of other following/unfollowing BackendlessUser objects:

https://backendless.com/documentation/users/ios/users_user_properties.htm

Thank you!

Sorry for bumping this but was a sample code ever made? I’m stuck at the moment, and the documentations aren’t very helpful :confused:

Follow/unfollow is nothing more than adding/removing BackendlessUser objects to/from a custom property for another BackendlessUser object.