hi,
using Facebook Graph API i am getting array of likes , and i want to bind number of likes to my button text, how can i do that ?
thanks
Hello,
You should map data[] to grid and name to button text. See link below: http://devcenter.appery.io/documentat...
so i dont want the looping feature here
In this case you should add JS to your mapping to mobilelistitem_43: http://devcenter.appery.io/documentat...
You can use this code:
codeelement.find("[name=btnLike]").text("Likes(" + value.likes.data.length +")");/code
i mapped the [likes] object to the grid, then used the above script and it works, thank you