When we share content on social media site with link of website or article, that links are no-follow links. So, social links may or may not boost rankings. Sometimes we see the Facebook posts ranked on SERPs depending on the content the posts are having and that match with user query.
As per Matt cuts saying, Facebook and Twitter are treated as any other web page and so if something occurs on Twitter or occurs on Facebook and we’re able to crawl it then we can return that in our search results. So, as I said if it fulfill the user requirement then it is possible that your social post may rank.