0

To publish photos on the Facebook need to perform:

curl -F 'access_token=...' \
     -F 'source=@file.png' \
     -F 'message=Caption for the photo' \
     https://graph.facebook.com/me/photos

example from developers.facebook.com/docs/reference/api/photo

How to create the same POST request in the iPhone app?

Ricardo
  • 13
  • 5

1 Answers1

0

I like the ASIHTTPRequest library a lot. Without that library, you would have to use NSURLConnection, which is a lot more low level.

Chris Eidhof
  • 1,514
  • 1
  • 12
  • 15
  • Is it possible to do with NSURLConnection? – Ricardo Jul 23 '10 at 12:45
  • Yes, it is possible, as I said. If you google for "nsurlconnection post" the first result is here on stack overflow: http://stackoverflow.com/questions/2071788/iphone-sending-post-with-nsurlconnection – Chris Eidhof Jul 25 '10 at 11:48