1

I found many online tutorial about how to post image to Facebook using Facebook iOS SDK, but i'm looking for a way to get posted image id. Is it returned with callback methods(if yes, then with which key) or is it even possible to get posted image id?

Blios
  • 719
  • 1
  • 16
  • 30

1 Answers1

1

When successfully uploading the image, you are given the url of the image (key:uri), you could work out the image id from that i guess. Having the image url should be enough to work with.

Reedy
  • 1,866
  • 2
  • 20
  • 23
  • On http://stackoverflow.com/questions/6702135/post-photo-on-users-wall-using-facebook-ios-sdk see Eric D'Souza answer, he is getting image id. Is this correct? – Blios Dec 17 '14 at 09:33
  • check now, if you scroll down in his post you can see that he marked it as step 2(as comment) – Blios Dec 17 '14 at 09:37
  • So the way to do it is, to upload the photo the users album, this should return an id, you can then use this image id. – Reedy Dec 17 '14 at 09:40
  • ok, thanks(and +1) for confirmation. let me check if i can do it as mention on that post. – Blios Dec 17 '14 at 09:42