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?

Answers


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:

  1. Upload PDF to your server from the app
  2. Have the server return a unique url for the file, or create one locally if you have a scheme in mind
  3. Post link to the PDF on Facebook with the other details as well (name, description, preview image, etc...)

Need Your Help

Rolled my own tooltips, Firefox throwing uncaught exception

javascript jquery firefox

It seems I've angered Firefox. Here's a working JSFiddle of what's going on. But, to explain it quickly:

Issue with $(this).next()

php javascript jquery html ajax

For some reason only the save button is showing up on the edit click...not sure why I am having problems with the cancel button...? Below is my code

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.