[text]crlf=3D[unurl]%0D%0A[/unurl][/text]
[text]connectHost=3Dfacebook.com[/text]
[text]useSSL=3DT[/=text]
[text]scopeURI=3D/dialog/oauth[/text]
[text]para=ms=3Dclient_id=3D[MyID]&redirect_uri=3D[MyReturnURL]&scope=3Demail=,read_stream[/text]
[text]call_response=3D[!]
[/!][TCPconnect host=3D[connectHost][showif =[useSSL]=3DT]&SSL=3DT&port=3D443[/showif]][!]
= [/!][TCPsend skipheader=3DT]POST [scopeURI] =HTTP/1.0[crlf][!]
[/!]Host: =[connectHost][crlf][!]
[/!]Content-Length: =[countchars][params][/countChars][crlf][!]
=[/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT =5.0)[crlf][!]
[/!][crlf][!]
= [/!][params][crlf][!]
=[/!][/TCPSend][!]
=[/!][/TCPconnect][/text]
[!]** =Reveal this for testing purposes **[/!] =
[!]
<br /><br =/>
<textarea cols=3D"100" rows=3D"5" =wrap=3D"off">[call_response]</textarea><br =/>
[/!]
On Jan 19, 2012, at 5:04 PM, Daniel Meola =wrote:
port=3D443&ssl=3Dt sounds right, we use that in our =PayPal code. I'm afraid I don't have any experience with the Facebook =API and don't have access to test it. Generally with TCPConnect it takes =me a lot of trial and error. Hopefully somebody else with Facebook =experience can chime in.
Good luck,
Daniel =MeolaOn Thu, Jan 19, 2012 at 4:49 PM, Dave =Stengel
<dave@mobilinkpro.com> =wrote:
Thanks for the quick reply. I get an error unable to connect to
facebook. Could this be because the URL is https: ? I added
port=3D443&ssl=3Dt and gt the following error:
Error: couldn't connect to host [https://www.facebook.com]
Dave
____________________
On Thu, Jan 19, 2012 at 1:24 PM, Daniel Meola <
daniel@knifecenter.com> =wrote:
> Try this:
>
> [tcpconnect host=3D
www.facebook.com&port=3D80]
> =[tcpsend]POST /dialog/oauth?client_id=3D[MyID]&redirect_uri=3D[My=ReturnURL]&scope=3Demail,read_stream HTTP/1.0[unurl]%0D%0A%0D%0A[=/unurl][/tcpsend]
> [/tcpconnect]
>
> Hope it helps,
>
> Daniel Meola
>
301-486-0901>
daniel@knifecenter.com>
>
>
> On Thu, Jan 19, 2012 at 4:20 PM, Dave Stengel <
dave@mobilinkpro.com> =wrote:
>>
>> Can anyone help me with a http post issue. I've never done this =before
>> but I'm trying to post:
>>
>>
>>
https://www.facebook.com/dialog/oauth?client_id=3D[MyID]=&redirect_uri=3D[MyReturnURL]&scope=3Demail,read_stream>>
>> as webdna code and I'm not sure were to start. Would I use =TCPCONNECT
>> to do this. Any direction would be appreciated.
>>
>>
>> Dave
>> ---------------------------------------------------------
>> This message is sent to you because you are subscribed to
>> the mailing list <
talk@webdna.us>.
>> To unsubscribe, E-mail to: <
talk-leave@webdna.us>
>> archives:
http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting:
support@webdna.us>
>
> --------------------------------------------------------- This =message is
> sent to you because you are subscribed to the mailing =list . To unsubscribe,
> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug
> Reporting: support@webdna.us
--
Dave Stengel
http://www.mobilinksoftware.com
209.820.1300
dave@mobilinkpro.com
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail=_44D2972F-CAE6-4085-BE26-E6ECC26272EF--
Associated Messages, from the most recent to the oldest:
--Apple-Mail=_44D2972F-CAE6-4085-BE26-E6ECC26272EFContent-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=iso-8859-1I haven't tried anything with Facebook yet, but this is generally what I =use for POST inside the TCP context. I usually have better luck sending =variables in the body under the headers rather than as a string. I =would also drop the 'www' from the host. Hope this helpsThis is what I use when I post with TCP
[text]crlf=3D
[unurl]%0D%0A[/unurl][/text]
[text]connectHost=3Dfacebook.com[/text]
[text]useSSL=3DT[/text]
[text]scopeURI=3D/dialog/oauth[/text]=
[text]params=3Dclient_id=3D[MyID]&redirect_uri=3D[MyReturnURL]&scope=3Dema=il,read_stream[/text]
[text]call_response=3D
[!] [/!][TCPconnect host=3D[connectHost][showif =[useSSL]=3DT]&SSL=3DT&port=3D443[/showif]]
[!] [/!][TCPsend skipheader=3DT]POST [scopeURI] HTTP/1.0[crlf]
[!]=09 [/!]Host: [connectHost][crlf]
[!] [/!]Content-Length:
[countchars][params][/countChars][crlf]
[!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT =5.0)[crlf]
[!] [/!][crlf]
[!] [/!][params][crlf]
[!] [/!][/TCPSend]
[!] [/!][/TCPconnect][/text]
[!]** Reveal this for testing purposes **[/!] =20
[!][/!]On Jan 19, 2012, at 5:04 PM, Daniel Meola wrote:> port=3D443&ssl=3Dt sounds right, we use that in our PayPal code. I'm =afraid I don't have any experience with the Facebook API and don't have =access to test it. Generally with TCPConnect it takes me a lot of trial =and error. Hopefully somebody else with Facebook experience can chime =in.>=20> Good luck,=20> Daniel Meola> 301-486-0901> daniel@knifecenter.com>=20>=20>=20> On Thu, Jan 19, 2012 at 4:49 PM, Dave Stengel
=wrote:> Thanks for the quick reply. I get an error unable to connect to> facebook. Could this be because the URL is https: ? I added> port=3D443&ssl=3Dt and gt the following error:>=20> Error: couldn't connect to host [https://www.facebook.com]>=20> Dave> ____________________>=20> On Thu, Jan 19, 2012 at 1:24 PM, Daniel Meola =wrote:> > Try this:> >> > [tcpconnect host=3Dwww.facebook.com&port=3D80]> > [tcpsend]POST =/dialog/oauth?client_id=3D[MyID]&redirect_uri=3D[MyReturnURL]&scope=3Demai=l,read_stream HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend]> > [/tcpconnect]> >> > Hope it helps,> >> > Daniel Meola> > 301-486-0901> > daniel@knifecenter.com> >> >> >> > On Thu, Jan 19, 2012 at 4:20 PM, Dave Stengel =wrote:> >>> >> Can anyone help me with a http post issue. I've never done this =before> >> but I'm trying to post:> >>> >>> >> =https://www.facebook.com/dialog/oauth?client_id=3D[MyID]&redirect_uri=3D[M=yReturnURL]&scope=3Demail,read_stream> >>> >> as webdna code and I'm not sure were to start. Would I use =TCPCONNECT> >> to do this. Any direction would be appreciated.> >>> >>> >> Dave> >> ---------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list .> >> To unsubscribe, E-mail to: > >> archives: http://mail.webdna.us/list/talk@webdna.us> >> Bug Reporting: support@webdna.us> >> >> > --------------------------------------------------------- This =message is> > sent to you because you are subscribed to the mailing list . To =unsubscribe,> > E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug> > Reporting: support@webdna.us>=20>=20>=20> --> Dave Stengel>=20> http://www.mobilinksoftware.com> 209.820.1300> dave@mobilinkpro.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us--Apple-Mail=_44D2972F-CAE6-4085-BE26-E6ECC26272EFContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=iso-8859-1I =haven't tried anything with Facebook yet, but this is generally what I =use for POST inside the TCP context. I usually have better luck =sending variables in the body under the headers rather than as a string. = I would also drop the 'www' from the host. Hope this =helps
This is what I use when I post =with =TCP
[text]connectHost=3Dfacebook.com[/text]
[text]scopeURI=3D/dialog/oauth[/text]
[text]para=ms=3Dclient_id=3D[MyID]&redirect_uri=3D[MyReturnURL]&scope=3Demail=,read_stream[/text]
[text]call_response=3D
[!] [/!][TCPconnect host=3D[connectHost][showif =[useSSL]=3DT]&SSL=3DT&port=3D443[/showif]]
[!] = [/!][TCPsend skipheader=3DT]POST [scopeURI] =HTTP/1.0[crlf]
[!] [/!]Host: =[connectHost][crlf]
[!] =[/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT =5.0)[crlf]
[!] =[/!][/TCPconnect][/text]
[!]** =Reveal this for testing purposes **[/!] =
<br /><br =/>
<textarea cols=3D"100" rows=3D"5" =wrap=3D"off">[call_response]</textarea><br =/>
[/!]
On Jan 19, 2012, at 5:04 PM, Daniel Meola =wrote:
port=3D443&ssl=3Dt sounds right, we use that in our =PayPal code. I'm afraid I don't have any experience with the Facebook =API and don't have access to test it. Generally with TCPConnect it takes =me a lot of trial and error. Hopefully somebody else with Facebook =experience can chime in.
Good luck,
Daniel =MeolaOn Thu, Jan 19, 2012 at 4:49 PM, Dave =Stengel
<dave@mobilinkpro.com> =wrote:
Thanks for the quick reply. I get an error unable to connect to
facebook. Could this be because the URL is https: ? I added
port=3D443&ssl=3Dt and gt the following error:
Error: couldn't connect to host [https://www.facebook.com]
Dave
____________________
On Thu, Jan 19, 2012 at 1:24 PM, Daniel Meola <
daniel@knifecenter.com> =wrote:
> Try this:
>
> [tcpconnect host=3D
www.facebook.com&port=3D80]
> =
[tcpsend]POST /dialog/oauth?client_id=3D[MyID]&redirect_uri=3D[My=ReturnURL]&scope=3Demail,read_stream HTTP/1.0
[unurl]%0D%0A%0D%0A[=/unurl][/tcpsend]
> [/tcpconnect]
>
> Hope it helps,
>
> Daniel Meola
>
301-486-0901>
daniel@knifecenter.com>
>
>
> On Thu, Jan 19, 2012 at 4:20 PM, Dave Stengel <
dave@mobilinkpro.com> =wrote:
>>
>> Can anyone help me with a http post issue. I've never done this =before
>> but I'm trying to post:
>>
>>
>>
https://www.facebook.com/dialog/oauth?client_id=3D[MyID]=&redirect_uri=3D[MyReturnURL]&scope=3Demail,read_stream>>
>> as webdna code and I'm not sure were to start. Would I use =TCPCONNECT
>> to do this. Any direction would be appreciated.
>>
>>
>> Dave
>> ---------------------------------------------------------
>> This message is sent to you because you are subscribed to
>> the mailing list <
talk@webdna.us>.
>> To unsubscribe, E-mail to: <
talk-leave@webdna.us>
>> archives:
http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting:
support@webdna.us>
>
> --------------------------------------------------------- This =message is
> sent to you because you are subscribed to the mailing =list . To unsubscribe,
> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug
> Reporting: support@webdna.us
--
Dave Stengel
http://www.mobilinksoftware.com
209.820.1300
dave@mobilinkpro.com
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail=_44D2972F-CAE6-4085-BE26-E6ECC26272EF--
aaronmichaelmusic@gmail.com
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
URL too Long? (1997)
Re:What file? (1997)
Sendmail Excel Attachment (2006)
Banners (1997)
encripted storage (1998)
Design Help Needed (1998)
Pulldown Menu Problem (2000)
New Installation (1998)
creating writefile data from a nested search (1997)
My URL, Your URL (2002)
synching databases on multiple servers (1997)
WebCatalog can't find database (1997)
Redirect function (was Bug fixes for next WebDNA release) (2005)
Listfiles context (2000)
Kaaaaahhhhhhhnnnnnnn! (1997)
includes (2003)
Country & Ship-to address & other fields ? (1997)
AOL and referrers on target=_blank (2000)
EmailProblem vs EmailComplete (2000)
WebCat2: multiple currency support (1997)