Re: Uploading photos to Facebook - ColdFusion REST API

2010-10-12 Thread Michael Grant
Change type=url to type=formfield On Sun, Oct 10, 2010 at 1:43 PM, David Six2 david.six...@gmail.com wrote: Perhaps Facebook is looking for the params in form variables rather than the URL since it's a post? Thanks for looking at this. I tried this: cfhttp

Re: Uploading photos to Facebook - ColdFusion REST API

2010-10-12 Thread Jeff Gladnick
I think there is a function in the facebook graph API that you can use: http://facebookgraph.riaforge.org/ Howdy folks, I'm working on a ColdFusion application that creates events in Facebook. I have no trouble authenticating users and creating simple events, but as soon as I add a

Re: Uploading photos to Facebook - ColdFusion REST API

2010-10-12 Thread David Six2
Michael, This did it, if I pass in all the parameters as formfields and the image, this works. Thanks very much! cfhttp url=https://api.facebook.com/method/events.create; method=post cfhttpparam name=access_token value=#client.access_token# encoded=no type=formfield

Re: Uploading photos to Facebook - ColdFusion REST API

2010-10-12 Thread David Six2
Jeff, Unfortunately, due to a bug, Graph API is not currently able to post images to a page event on facebook. But I've finally got the post event with image code working for the old REST API. David On Mon, Oct 11, 2010 at 10:58 AM, Jeff Gladnick jeff.gladn...@gmail.comwrote: I think there

Uploading photos to Facebook - ColdFusion REST API

2010-10-10 Thread David Six
Howdy folks, I'm working on a ColdFusion application that creates events in Facebook. I have no trouble authenticating users and creating simple events, but as soon as I add a picture with CFHTTPPARAM, I get a blank response from Facebook. Here's the code I have that works: - cfset

Re: Uploading photos to Facebook - ColdFusion REST API

2010-10-10 Thread James Holmes
Perhaps Facebook is looking for the params in form variables rather than the URL since it's a post? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 October 2010 18:59, David Six david.six...@gmail.com wrote: cfhttp

Re: Uploading photos to Facebook - ColdFusion REST API

2010-10-10 Thread David Six2
Perhaps Facebook is looking for the params in form variables rather than the URL since it's a post? Thanks for looking at this. I tried this: cfhttp url=https://api.facebook.com/method/events.create; method=post cfhttpparam name=access_token value=#client.access_token# encoded=no