The first follows the startup path we outlined above: You have a disruptive idea for an app or piece of software, you validate the idea with real customers, and then raise money to hire developers or a development studio to build, launch, and scale your software. If you’ve done everything right, your software will be accepted to the Apple and Google Stores and you’ll make money every time someone downloads it or pays for a premium feature.
You can use social media to share your blog content with affiliate links, or you can directly share your affiliate links. Note, that you should give an indication that the link is an affiliate link when you post to be transparent and not annoy your followers. People don't want to be sold to all the time, so posting affiliate links should be interspersed with non-affiliate and non-sales posts.