If you get button code for one product you will see that the only thing that you will have to change to get buttons for other products is the item_number (&i=... part). Since you can set the item number while adding your products, you can simply generate the button code
yourself.