Create instagram bot for add post with text

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

hello . i have a problem in this project . i need a sample project to use its code for my own bot with c# and framework 4.5 for visual studio . i couldnt find a good sample so i have programmed by myself and get help from github and nuget .but i didnt result.
i just need a bot that be able to add post (image) with text .