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 url="https://api.facebook.com/method/events.create"; method="post">
>    <cfhttpparam name="access_token" value="#client.access_token#"
> encoded="no" type="url">
>    <cfhttpparam name="event_info" value="#params#" encoded="no" type="url">
> </cfhttp>
>
> And I get the same response, nothing returned from Facebook and nothing
> posted to events.  I tried a few different post combinations and actually I
> can't get post to work at all, even though GET works fine.  Very weird.
>
> I'll keep plugging at it.
>
> David
>
> On Sun, Oct 10, 2010 at 6:07 AM, James Holmes <james.hol...@gmail.com
> >wrote:
>
> >
> > 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 url="https://api.facebook.com/method/events.create?#params#";
> > method="post" multipart="yes">
> > >    <cfhttpparam file="E:\test\sampleimage.jpg" type="file"
> > name="image.jpg" mimetype="image/jpeg">
> > > </cfhttp>
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338053
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to