[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:
Problems reading files created by WC (1997)
WebCat NT v. Mac (1997)
$Quit, $CloseDatabase corrections (1997)
RE:It just Does't add up!!! (1997)
[WebDNA] RSS Feed help (2009)
[math] and ceil (2004)
Classified (1999)
E-mail formating question (1999)
Stopping bad HTML propagation ? (1997)
Why won't this work (2005)
taxTotal confusion (1998)
Trouble with my database (1998)
Further tests with the infamous shipCost (1997)
emailer error -108 (1997)
Frames and WebCat (1997)
Country & Ship-to address & other fields ? (1997)
cookies ok ??? (2006)
I give up!! (1997)
[WebDNA] Searching and replacing in another file (2013)
New WebCatalog site! (1997)