ios - Facebook graph API post multiple Photos to album and feed -
i have ios app posting multiple photos facebook feed using graph api.
i have accomplished posting graph path "me/photos". puts photos in default app album , shows on user feed. want.
the problem if create second (or multiple) posts, merges second post , subsequent posts first post , shows @ top of feed. if make x posts, there 1 entry in feed , images posts posted album.
whereas want able make multiple posts , have them show separate posts on feed.
here's high level code 1 post:
while (key = [k nextobject]) { item = [self.selecteditemsdict objectforkey:key]; url = [item objectforkey:kpicurlkey]; nsmutabledictionary *params = [nsmutabledictionary dictionarywithobjectsandkeys: url, @"url", nil]; [fbrequestconnection startforpostwithgraphpath:@"me/photos" graphobject:(fbgraphobject*)params completionhandler:^(fbrequestconnection *connection, id result, nserror *error) { if (!error) { nslog(@"done posting"); } }]; }
how can make multiple posts feed (& album), each 1 or more photos , have them show separate posts on users wall?
just looking general approach how using graph api, not code.
you use me/albums
create new album, album_id/photos
upload photo.
Comments
Post a Comment