Accept content from other apps (sharing)

Is there an easy way to accept text, link, pictures from other apps? I need the user to be able to share content on my app, just like the way they do it on Instagram or Facebook. I need this for both Android and ios. Thanks for the help!