I know how to get string from specific user like facebook status which only get status from ppl where you add as friends but how do i get picture from a specific group of people ?
Do you want to get a picture for every person in a group? Are these people facebook users?
Like the people you follow , i just wanna get image from those people only
I am pretty sure Facebook offers API for that. Have you checked their documentation?
I think you misunderstood my question haha nvm i think i does not wrote clearly enough. Like instagram you only get a specific image from those you follows
The answer depends on how you structured your data in Backendless. I cannot tell you how to load something from the server without knowing how you organized your data model.
something like this https://parse.com/tutorials/anypic#model
Is there something specific in that article? It is about 20 pages long…
there is a data model there from parse how can i do it in backendless ?
If you have a relation in Backendless which is a collection of the people who follow a user, you can use this request to load all related objects and specify only the properties you need:
https://backendless.com/documentation/data/rest/data_search_and_query.htm
but no files object right?
No, not yet. We are working on it. It will be returned as a String URL for now.
thanks a lot it would be better if the data tables have files object haha
Nice to hear. I am thinking about such problem too. In my app, there is a timeline shows posts. If I request user profile by url, there will be many API requests for each timeline refresh.
Can you cache images locally perhaps?
No, it will not work. My app retrieve a list of posts, every post will include a image of the post and a image of the author. Every time when I retrieve the posts, it will need to get the post image and author image. There will be many API calls for one fetch.
Loading individual data items with separate requests is what browser-based mobile applications do. Fetching one huge hierarchy of objects with a single fetch helps you reducing the number of API calls, but does not make your app more responsive.
You are right. Thanks a lot!