Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2011, 02:12 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 76
jwt8070 is on a distinguished road
Default Post Photo on Facebook Wall

Hi,

I would like to add a feature to my app to allow users to post a photo plus some comments (text) to his facebook wall. The user can take a photo using phone camara or select a photo from album. But my developer said this is not possible. He said in order for the photo to be posted on FB wall, the photo must first exist on a website so he can pass the URL of the photo to facebook. He said facebook API does not accept images. Is this true? This sounds a bit strange to me.
jwt8070 is offline   Reply With Quote
Old 06-16-2011, 04:33 PM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,983
smithdale87 is on a distinguished road
Send a message via AIM to smithdale87
Default

Here's another link that agrees with your developer. Facebook Connect for iPhone: How to upload an image (UIImage) to user's wall without having to use json-embedded link or photos.upload? - Stack Overflow
smithdale87 is offline   Reply With Quote
Old 06-17-2011, 02:58 AM   #3 (permalink)
Registered Member
 
Join Date: Dec 2010
Location: Paris, France
Posts: 946
7twenty7 is on a distinguished road
Default

Quote:
Originally Posted by jwt8070 View Post
Hi,

I would like to add a feature to my app to allow users to post a photo plus some comments (text) to his facebook wall. The user can take a photo using phone camara or select a photo from album. But my developer said this is not possible. He said in order for the photo to be posted on FB wall, the photo must first exist on a website so he can pass the URL of the photo to facebook. He said facebook API does not accept images. Is this true? This sounds a bit strange to me.
I recently went through this and couldn't quite work it out.

The facebook API *does* let you upload photos to a photo album. Facebook will then automatically make a wall post for that upload (just notifying that something was uploaded to the album)...but it seems to just do one wall post every day or so, not for every upload.

However, you can get the link to the photo after you've uploaded it, so I was trying to then create a regular wall post with the link to the photo (now on fb).

It *almost* worked, but not quite. The wall post was there, with whatever caption I wanted, and the link was there. But the thumbnail of the photo was broken...it just wasn't there. I tried a few different ways but just couldn't quite get it to work right.
7twenty7 is offline   Reply With Quote
Old 06-17-2011, 08:17 AM   #4 (permalink)
Token farm animal
 
sneaky's Avatar
 
Join Date: Apr 2011
Posts: 321
sneaky is on a distinguished road
Default

This is a pain alright. I've got it working though. It's a 2 step process of first uploading the photo and then making a wall post. I was greatly helped by: How To Post to a User’s Wall, Upload Photos, and Add a Like Button from your iPhone App | Ray Wenderlich
sneaky is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 386
17 members and 369 guests
Absentia, AyClass, Diligent, dre, givensur, jbro, jPuzzle, momolgtm, Newbie123, Paul10, Punkjumper, revg, sacha1996, skrew88, taylor202, tomtom100
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,643
Threads: 94,110
Posts: 402,858
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Diligent
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:40 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0