ios - How to post PDF to Facebook
Using facebook API, in my iOS, i want to post a PDF. I successfully created the APP ID and integrated in my code as well. But I know that we can post video or image to facebook. But I don't know whether we can post PDF or not. Can some one suggest me?
You won't be able to post a file, but you can post a link to the file in a public place, preferably on your server. So:
- Upload PDF to your server from the app
- Have the server return a unique url for the file, or create one locally if you have a scheme in mind
- Post link to the PDF on Facebook with the other details as well (name, description, preview image, etc...)