Facebook post to another page?

It looks like you are using the properties named specifically for the Facebook feed dialog. Do you know if I can post a picture this way with a local filename which I have already saved on on the phone? I take a picture with the camera and know where it is saved and the filename. I’m not sure if I can set the source to be the file somehow.

Thanks,

Warren
[import]uid: 184193 topic_id: 34847 reply_id: 141568[/import]

Hi Warren, I’m not sure. Looking at the dialog properties on FB page, it doesn’t look like you’d be able to directly upload a photo from your device to a friend’s feed using feed dialog:

https://developers.facebook.com/docs/reference/dialogs/requests/

I could be wrong… but it almost feels like you may need to use some sort of intermediary (like uploading a saved photo to your web server, and use the URL for that uploaded photo to be added to the dialog? – rather convoluted. There may very well be a better way to do it, but I have not needed to do it, so I haven’t really looked into it myself.

Naomi

P.S. That said, if I were you, I’d experiment and see if the path to a file name on your device (rather than the URL to an image) would do the job. [import]uid: 67217 topic_id: 34847 reply_id: 141570[/import]

I tried different variations to post a local file and could not get it to work. I read where people got this to work coding it in other apps and even the Facebook app lets you upload a picture from your phone.

Has anyone does this using the Facebook.showDialog() method? If so, can you post an example?

Thanks!!
[import]uid: 184193 topic_id: 34847 reply_id: 141573[/import]