From the screenshot I assume that X, LinkedIn and Medium are linking to the appearance of "John Allen" on those sites. So it doesn't make sense to put it there. The other possible option to put it, would be next to the two buttons. There it would make the most sense to me, as both these buttons are actions the user can perform. But sharing is probably less relevant / important than "Add Friend" and "Chat with Me", so I would locate it right of the two buttons. But in the end it all depends on the importance of each of the actions the user can do. This hierarchy of importance, should be reflected visually in the design.