Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106300
interpreted = N
texte = --bcaec53f92cb22ca17049c879fb2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable This should be of interest to some - here's another "extension"of webdna. I created a sharable media object in the FB wall that opens up and allows the user to interact with content. In this case a media player. I have to resize the actual player so it's a little squished, but I think you'll get the idea. go to: http://www.facebook.com/theTragicallyHip : look for the music player post - about three down currently and click on the image. it's webdna driven. Doesn't work on mobile bc it's flash but that's a dif. issue. If other people are working in this area of api integration and Social integration, I am very interested in seeing what you've done. I'm happy to share all my code, but am just starting on the authentication and real FB integration stuff with AuthO or whatever it's called:) I have a lot of code for pulling, but now want to really push into FB in particular. d. On Thu, Feb 17, 2011 at 1:38 PM, Jym Duane wrote: > you rock! > > jym > > > On 2/15/11 7:52 AM, David Bastedo wrote: > > There is still a couple of parts missing it seems - ran out of energy las= t > night - Huge opportunities to meld webdna into social with a lot more eas= e > than php etc. - once this nut has been cracked. > > Love to share ideas and code to get the major api's cracked and process t= o > work on them - all of my work now incorporates these eco-systems . . . . > > I'll be working on this and will share all findings over the next little > while. > > d. > > -- > David Bastedo > Ten Plus One Communications Inc. > http://www.10plus1.com > T. 416.603.2223 > M. 416.277.4499 > My Profiles [image: LinkedIn] [= image: > Delicious] [image: Twitter] [image: > Google] > Find me on [image: Google Talk/] davidbmbastedo@gmail.com > My Latest Shared Link is: Share on Facebook =96 How to embed your own Vid= eos > on someone's Facebook wall when your web pages are =93Shared=94 on Facebo= ok > > > On Tue, Feb 15, 2011 at 1:46 AM, Stuart Tremain wrote= : > >> David >> >> I like the way you have the iFrame working, it gives me a couple of >> ideas :) >> >> When I "liked" your first example I still got BBB .... >> >> yet "5: liked:" did change from true to false >> >> >> Regards >> >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >> >> >> >> >> On 15/02/2011, at 5:36 PM, David Bastedo wrote: >> >> Here is a working, authenticated tab that shows all the initial variable= s >> - country code, userid, liked etc. >> >> >> http://www.facebook.com/pages/Band-HQ/169816586398236?sk=3Dapp_126463440= 760566 >> >> If you "like it" you'll get AAA and if you don't Like it. you will get >> "BBB" >> >> I had to authorize this application and I haven't tried to do that >> gracefully yet, but it's basically a three step process. >> Once you create an application and set up a page and a tab, within a >> folder - I use "fb" - then the following three steps occur in order to >> authorize your app >> >> >> This is how to authenticate the app: >> >> >> > https://www.facebook.com/dialog/oauth?client_id=3D126463440XXXXXXXX&redi= rect_uri=3Dhttp://www.XXXXXXX.com/fb/">Step1> /> >> >> > https://www.facebook.com/dialog/oauth?client_id=3D126463440XXXXXXXX&redi= rect_uri=3Dhttp://www.XXXXXXXX.com/fb/&scope=3Demail,read_stream,user_likes= ,user_location,publish_stream,create_event">step >> 2
>> >> > https://graph.facebook.com/oauth/access_token?client_id=3D12646344076056= 6&redirect_uri=3Dhttp://www.XXXXXXXX.com/fb/&client_secret=3DXXXXXXXXXXXXXX= XXXX&code=3D[code]">step >> 3
>> >> code=3Dthe response back from Facebook >> This will then get you a key, which will open all the doors >> >> tab.html is the document that gets loaded in your tab. >> >> Here is a version - not yet authenticated, so it only shows right ow whe= n >> you like the band, but it pulls in dynamic content via webdna, so I'll a= dd >> the two parts together and I should no be able to show custom data by >> country and whether they like the page or not. >> >> >> http://www.facebook.com/thetrewsmusic#!/thetrewsmusic?sk=3Dapp_182877448= 415423 >> >> >> >> >> >> -- >> David Bastedo >> Ten Plus One Communications Inc. >> http://www.10plus1.com >> T. 416.603.2223 >> M. 416.277.4499 >> My Profiles [image: LinkedIn] = [image: >> Delicious] [image: Twitter] [image: >> Google] >> Find me on [image: Google Talk/] davidbmbastedo@gmail.com >> My Latest Shared Link is: Share on Facebook =96 How to embed your own >> Videos on someone's Facebook wall when your web pages are =93Shared=94 o= n >> Facebook >> >> >> On Tue, Feb 15, 2011 at 1:17 AM, Stuart Tremain wrot= e: >> >>> Good on you David >>> >>> Would love to see it in use .... >>> >>> >>> Regards >>> >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>> >>> >>> >>> >>> On 15/02/2011, at 5:12 PM, David Bastedo wrote: >>> >>> > Here is the code to get the basic Facbeook information from a user wh= en >>> they go to your custom application installed on your page using the new >>> iframes settings. >>> > >>> > Specifically, this example shows how to serve up two types of content >>> depending on whether the person "Likes" you page or not. >>> > >>> > [!]--Get the signed request and split it to get the JSON Object--[/!] >>> > [!]--Strip out the elements I don't want and then I use index to find >>> the node I want--[/!] >>> > [!]--Serve content A or B based on this variable --[/!] >>> > >>> > [listwords words=3D[signed_request]&delimiters=3D.] >>> > >>> > [showif [index]=3D2] >>> > [text]splitMe=3D[Decrypt method=3Dbase64][word][/Decrypt][/text] >>> > [table name=3DJSONconversion&fields=3Dfrom,to] >>> > { >>> > } >>> > , >>> > " >>> > [/table] >>> > >>> > >>> > [listwords words=3D[splitMe]&delimiters=3D{,] >>> > >>> > [index]: [ConvertChars table=3DJSONconversion][word][/convertchars] >>> > >>> > [showif [index]=3D7] >>> > [showif [ConvertChars >>> table=3DJSONconversion][word][/convertchars]^true] >>> > [text]RUAFAN=3Dtrue[/text] >>> > [/showif] >>> > [hideif [ConvertChars >>> table=3DJSONconversion][word][/convertchars]^true] >>> > [text]RUAFAN=3Dfalse[/text] >>> > [/hideif] >>> > >>> > >>> > [/showif] >>> > >>> > [/listwords] >>> > >>> > >>> > [/showif] >>> > [/listwords] >>> > >>> > >>> > [showif [RUAFAN]=3Dtrue] >>> > AAA >>> > [/showif] >>> > >>> > [showif [RUAFAN]=3Dfalse] >>> > BBB >>> > [/showif] >>> > --------------------------------------------------------- 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 >>> >> >> --------------------------------------------------------- This message i= s >> sent to you because you are subscribed to the mailing list . To unsubscr= ibe, >> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug >> Reporting: support@webdna.us >> >> >> --------------------------------------------------------- This messag= e >> 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 unsubscri= be, > E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug > Reporting: support@webdna.us > > > -- > > > Jym Duane - CTO - Purpose Media > > Creating Your Success Story > > Marketing : Television - Internet - Print > > > Phone: (877) 443-1323 > > Email: jym@purposemedia.com > > Web: www.purposemedia.com > > > Oregon - www.GuideToOregon.com > > PO Box 1725, Jacksonville, OR 97530 > > > California - www.OrangeCounty.net > > PO Box 2025, Capistrano Beach, CA 92624 > --------------------------------------------------------- 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.u= s > --bcaec53f92cb22ca17049c879fb2 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable This should be of interest to some - here's another "extension&quo= t;of webdna.

I created a sharable media object in the FB wall that o= pens up and allows the user to interact with content. In this case a media = player.

I have to resize the actual player so it's a little squished, but I= think you'll get the idea.

go to: http://www.facebook.com/theTragicallyHip : look= for the music player post - about three down currently and click on the im= age.

it's webdna driven.
Doesn't work on mobile bc it's flash= but that's a dif. issue.

If other people are working in this ar= ea of api integration and Social integration, I am very interested in seein= g what you've done.
I'm happy to share all my code, but am just starting on the authenticat= ion and real FB integration stuff with AuthO or whatever it's called:)<= br>
I have a lot of code for pulling, but now want to really push into F= B in particular.

d.







On Thu, Fe= b 17, 2011 at 1:38 PM, Jym Duane <jym@purposemedia.com> wrote:
=20 =20 =20
you rock!

jym


On 2/15/11 7:52 AM, David Bastedo wrote:
There is still a couple of parts missing it s= eems - ran out of energy last night - Huge opportunities to meld webdna into social with a lot more ease than php etc. - once this nut has been cracked.

Love to share ideas and code to get the major api's cracked and process to work on them - all of my work now incorporates these eco-systems . . . .

I'll be working on this and will share all findings over the next little while.

d.

--
David Bastedo
Ten Plus One Communications Inc.
http://w= ww.10plus1.com
T.=A0 416.603.2223
M. 416.277.4499

My Profiles 3D"LinkedIn" = 3D"Delicious" 3D"Twitter" 3D"Google"
Find me on davidbmbastedo@gmail.com
My Latest Shared Link is: Share on Facebook =96 How to embed your own Videos on someone's Facebook wall when your web pages are =93Shared=94 on Facebook


On Tue, Feb 15, 2011 at 1:46 AM, Stuart Tremain <webdna@idfk.com.au> wrote:
David

I like the way you have the iFrame working, it gives me a couple of ideas :)

When I "liked" your first example I still got BB= B ....

yet "5: liked:" did change from true to false


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 15/02/2011, at 5:36 PM, David Bastedo wrote:
Here is a working, authenticated tab that shows all the initial variables - country code, userid, liked etc.

http://www.facebook= .com/pages/Band-HQ/169816586398236?sk=3Dapp_126463440760566

If you "like it" you'll get AAA and if = you don't Like it. you will get "BBB"

I had to authorize this application and I haven't tried to do that gracefully yet, but it's basically a three step process.
Once you create an application and set up a page and a tab, within a folder - I use "fb" - t= hen the following three steps occur in order to authorize your app


This is how to authenticate the app:


<a href=3D"https://www.facebook.com/dialog/oauth?cl= ient_id=3D126463440XXXXXXXX&redirect_uri=3Dhttp://www.XXXXXXX.com/fb/">Step1</a><br />

<a href=3D"
https://www.facebook.com/dialog= /oauth?client_id=3D126463440XXXXXXXX&redirect_uri=3Dhttp://www.XXXXXXXX= .com/fb/&scope=3Demail,read_stream,user_likes,user_location,publish_str= eam,create_event">step 2</a><br />

<a href=3D"https://graph.facebook.com/oauth/access_token?clien= t_id=3D126463440760566&redirect_uri=3Dhttp://www.XXXXXXXX.com/fb/&c= lient_secret=3DXXXXXXXXXXXXXXXXXX&code=3D[code]">step 3</a><br />

code=3Dthe response back from Facebook
This will then get you a key, which will open all the doors

tab.html is the document that gets loaded in your tab.

Here is a version - not yet authenticated, so it only shows right ow when you like the band, but it pulls in dynamic content via webdna, so I'll add the two parts together and I should no be able to show custom data by country and whether they like the page or not.

http://www.facebo= ok.com/thetrewsmusic#!/thetrewsmusic?sk=3Dapp_182877448415423





--
David Bastedo
Ten Plus One Communications Inc.
http://www.10plus1.com
T.=A0 416.603.2223
M. 416.277.4499
My Profiles 3D"Delicious" 3D"Twitter" 3D"Google"
Find me on davidbmbastedo@gmail.com My Latest Shared Link is: Share on Facebook =96 How to embed your own Videos on someone's Facebook wall when your web pages are =93Shared=94 on Facebook=


On Tue, Feb 15, 2011 at 1:17 AM, Stuart Tremain <webdna@idfk.com.au&g= t; wrote:
Good on you David

Would love to see it in use ....


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au




On 15/02/2011, at 5:12 PM, David Bastedo wrote:

> Here is the code to get the basic Facbeook information from a user when they go to your custom application installed on your page using the new iframes settings.
>
> Specifically, this example shows how to serve up two types of content depending on whether the person "Likes" you p= age or not.
>
> [!]--Get the signed request and split it to get the JSON Object--[/!]
> [!]--Strip out the elements I don't want and then I use index to find the node I want--[/!]
> [!]--Serve content A or B based on this variable --[/!]
>
> [listwords words=3D[signed_request]&delimiters=3D.]<= br> >
> [showif [index]=3D2]
> [text]splitMe=3D[Decrypt method=3Dbase64][word][/Decrypt][/text]
> [table name=3DJSONconversion&fields=3Dfrom,to] > {
> }
> ,
> "
> [/table]
>
>
> [listwords words=3D[splitMe]&delimiters=3D{,]
>
> [index]: [ConvertChars table=3DJSONconversion][word][/convertchars]&= lt;br />
>
> [showif [index]=3D7]
> =A0 =A0 [showif [ConvertChars table=3DJSONconversion][word][/convertchars]^= true]
> =A0 =A0 =A0 =A0 [text]RUAFAN=3Dtrue[/tex= t]
> =A0 =A0 [/showif]
> =A0 =A0 [hideif [ConvertChars table=3DJSONconversion][word][/convertchars]^= true]
> =A0 =A0 =A0 =A0 [text]RUAFAN=3Dfalse[/te= xt]
> =A0 =A0 [/hideif]
>
>
> [/showif]
>
> [/listwords]
>
>
> [/showif]
> [/listwords]
>
>
> [showif [RUAFAN]=3Dtrue]
> AAA
> [/showif]
>
> [showif [RUAFAN]=3Dfalse]
> BBB
> [/showif]
> -------------------------------------------------= -------- 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 <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us<= /a>
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

--------------------------------------------------------- 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:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--
=20 =20 =20 =20 =20 =20


Jym Duane - CTO - Purpose Media

Creating Your Success Story

Marketing : Television - Internet - Print


Phone: (877) 443-1323=A0 =A0

Email: j= ym@purposemedia.com=A0 =A0

Web: www= .purposemedia.com


Oregon - www.GuideToOregon.com

PO Box 1725,=A0 Jacksonville, OR 97530


California - www.OrangeCounty.net

PO Box 2025,=A0 Capistrano Beach, CA 92624

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--bcaec53f92cb22ca17049c879fb2-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (David Bastedo 2011)
  2. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (David Bastedo 2011)
  3. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (Jym Duane 2011)
  4. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (David Bastedo 2011)
  5. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (David Bastedo 2011)
  6. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (Stuart Tremain 2011)
  7. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (David Bastedo 2011)
  8. Re: [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (Stuart Tremain 2011)
  9. [WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (David Bastedo 2011)
--bcaec53f92cb22ca17049c879fb2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable This should be of interest to some - here's another "extension"of webdna. I created a sharable media object in the FB wall that opens up and allows the user to interact with content. In this case a media player. I have to resize the actual player so it's a little squished, but I think you'll get the idea. go to: http://www.facebook.com/theTragicallyHip : look for the music player post - about three down currently and click on the image. it's webdna driven. Doesn't work on mobile bc it's flash but that's a dif. issue. If other people are working in this area of api integration and Social integration, I am very interested in seeing what you've done. I'm happy to share all my code, but am just starting on the authentication and real FB integration stuff with AuthO or whatever it's called:) I have a lot of code for pulling, but now want to really push into FB in particular. d. On Thu, Feb 17, 2011 at 1:38 PM, Jym Duane wrote: > you rock! > > jym > > > On 2/15/11 7:52 AM, David Bastedo wrote: > > There is still a couple of parts missing it seems - ran out of energy las= t > night - Huge opportunities to meld webdna into social with a lot more eas= e > than php etc. - once this nut has been cracked. > > Love to share ideas and code to get the major api's cracked and process t= o > work on them - all of my work now incorporates these eco-systems . . . . > > I'll be working on this and will share all findings over the next little > while. > > d. > > -- > David Bastedo > Ten Plus One Communications Inc. > http://www.10plus1.com > T. 416.603.2223 > M. 416.277.4499 > My Profiles [image: LinkedIn] [= image: > Delicious] [image: Twitter] [image: > Google] > Find me on [image: Google Talk/] davidbmbastedo@gmail.com > My Latest Shared Link is: Share on Facebook =96 How to embed your own Vid= eos > on someone's Facebook wall when your web pages are =93Shared=94 on Facebo= ok > > > On Tue, Feb 15, 2011 at 1:46 AM, Stuart Tremain wrote= : > >> David >> >> I like the way you have the iFrame working, it gives me a couple of >> ideas :) >> >> When I "liked" your first example I still got BBB .... >> >> yet "5: liked:" did change from true to false >> >> >> Regards >> >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >> >> >> >> >> On 15/02/2011, at 5:36 PM, David Bastedo wrote: >> >> Here is a working, authenticated tab that shows all the initial variable= s >> - country code, userid, liked etc. >> >> >> http://www.facebook.com/pages/Band-HQ/169816586398236?sk=3Dapp_126463440= 760566 >> >> If you "like it" you'll get AAA and if you don't Like it. you will get >> "BBB" >> >> I had to authorize this application and I haven't tried to do that >> gracefully yet, but it's basically a three step process. >> Once you create an application and set up a page and a tab, within a >> folder - I use "fb" - then the following three steps occur in order to >> authorize your app >> >> >> This is how to authenticate the app: >> >> >> > https://www.facebook.com/dialog/oauth?client_id=3D126463440XXXXXXXX&redi= rect_uri=3Dhttp://www.XXXXXXX.com/fb/">Step1> /> >> >> > https://www.facebook.com/dialog/oauth?client_id=3D126463440XXXXXXXX&redi= rect_uri=3Dhttp://www.XXXXXXXX.com/fb/&scope=3Demail,read_stream,user_likes= ,user_location,publish_stream,create_event">step >> 2
>> >> > https://graph.facebook.com/oauth/access_token?client_id=3D12646344076056= 6&redirect_uri=3Dhttp://www.XXXXXXXX.com/fb/&client_secret=3DXXXXXXXXXXXXXX= XXXX&code=3D[code]">step >> 3
>> >> code=3Dthe response back from Facebook >> This will then get you a key, which will open all the doors >> >> tab.html is the document that gets loaded in your tab. >> >> Here is a version - not yet authenticated, so it only shows right ow whe= n >> you like the band, but it pulls in dynamic content via webdna, so I'll a= dd >> the two parts together and I should no be able to show custom data by >> country and whether they like the page or not. >> >> >> http://www.facebook.com/thetrewsmusic#!/thetrewsmusic?sk=3Dapp_182877448= 415423 >> >> >> >> >> >> -- >> David Bastedo >> Ten Plus One Communications Inc. >> http://www.10plus1.com >> T. 416.603.2223 >> M. 416.277.4499 >> My Profiles [image: LinkedIn] = [image: >> Delicious] [image: Twitter] [image: >> Google] >> Find me on [image: Google Talk/] davidbmbastedo@gmail.com >> My Latest Shared Link is: Share on Facebook =96 How to embed your own >> Videos on someone's Facebook wall when your web pages are =93Shared=94 o= n >> Facebook >> >> >> On Tue, Feb 15, 2011 at 1:17 AM, Stuart Tremain wrot= e: >> >>> Good on you David >>> >>> Would love to see it in use .... >>> >>> >>> Regards >>> >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>> >>> >>> >>> >>> On 15/02/2011, at 5:12 PM, David Bastedo wrote: >>> >>> > Here is the code to get the basic Facbeook information from a user wh= en >>> they go to your custom application installed on your page using the new >>> iframes settings. >>> > >>> > Specifically, this example shows how to serve up two types of content >>> depending on whether the person "Likes" you page or not. >>> > >>> > [!]--Get the signed request and split it to get the JSON Object--[/!] >>> > [!]--Strip out the elements I don't want and then I use index to find >>> the node I want--[/!] >>> > [!]--Serve content A or B based on this variable --[/!] >>> > >>> > [listwords words=3D[signed_request]&delimiters=3D.] >>> > >>> > [showif [index]=3D2] >>> > [text]splitMe=3D[Decrypt method=3Dbase64][word][/Decrypt][/text] >>> > [table name=3DJSONconversion&fields=3Dfrom,to] >>> > { >>> > } >>> > , >>> > " >>> > [/table] >>> > >>> > >>> > [listwords words=3D[splitMe]&delimiters=3D{,] >>> > >>> > [index]: [ConvertChars table=3DJSONconversion][word][/convertchars] >>> > >>> > [showif [index]=3D7] >>> > [showif [ConvertChars >>> table=3DJSONconversion][word][/convertchars]^true] >>> > [text]RUAFAN=3Dtrue[/text] >>> > [/showif] >>> > [hideif [ConvertChars >>> table=3DJSONconversion][word][/convertchars]^true] >>> > [text]RUAFAN=3Dfalse[/text] >>> > [/hideif] >>> > >>> > >>> > [/showif] >>> > >>> > [/listwords] >>> > >>> > >>> > [/showif] >>> > [/listwords] >>> > >>> > >>> > [showif [RUAFAN]=3Dtrue] >>> > AAA >>> > [/showif] >>> > >>> > [showif [RUAFAN]=3Dfalse] >>> > BBB >>> > [/showif] >>> > --------------------------------------------------------- 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 >>> >> >> --------------------------------------------------------- This message i= s >> sent to you because you are subscribed to the mailing list . To unsubscr= ibe, >> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug >> Reporting: support@webdna.us >> >> >> --------------------------------------------------------- This messag= e >> 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 unsubscri= be, > E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug > Reporting: support@webdna.us > > > -- > > > Jym Duane - CTO - Purpose Media > > Creating Your Success Story > > Marketing : Television - Internet - Print > > > Phone: (877) 443-1323 > > Email: jym@purposemedia.com > > Web: www.purposemedia.com > > > Oregon - www.GuideToOregon.com > > PO Box 1725, Jacksonville, OR 97530 > > > California - www.OrangeCounty.net > > PO Box 2025, Capistrano Beach, CA 92624 > --------------------------------------------------------- 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.u= s > --bcaec53f92cb22ca17049c879fb2 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable This should be of interest to some - here's another "extension&quo= t;of webdna.

I created a sharable media object in the FB wall that o= pens up and allows the user to interact with content. In this case a media = player.

I have to resize the actual player so it's a little squished, but I= think you'll get the idea.

go to: http://www.facebook.com/theTragicallyHip : look= for the music player post - about three down currently and click on the im= age.

it's webdna driven.
Doesn't work on mobile bc it's flash= but that's a dif. issue.

If other people are working in this ar= ea of api integration and Social integration, I am very interested in seein= g what you've done.
I'm happy to share all my code, but am just starting on the authenticat= ion and real FB integration stuff with AuthO or whatever it's called:)<= br>
I have a lot of code for pulling, but now want to really push into F= B in particular.

d.







On Thu, Fe= b 17, 2011 at 1:38 PM, Jym Duane <jym@purposemedia.com> wrote:
=20 =20 =20
you rock!

jym


On 2/15/11 7:52 AM, David Bastedo wrote:
There is still a couple of parts missing it s= eems - ran out of energy last night - Huge opportunities to meld webdna into social with a lot more ease than php etc. - once this nut has been cracked.

Love to share ideas and code to get the major api's cracked and process to work on them - all of my work now incorporates these eco-systems . . . .

I'll be working on this and will share all findings over the next little while.

d.

--
David Bastedo
Ten Plus One Communications Inc.
http://w= ww.10plus1.com
T.=A0 416.603.2223
M. 416.277.4499

My Profiles 3D"LinkedIn" = 3D"Delicious" 3D"Twitter" 3D"Google"
Find me on davidbmbastedo@gmail.com
My Latest Shared Link is: Share on Facebook =96 How to embed your own Videos on someone's Facebook wall when your web pages are =93Shared=94 on Facebook


On Tue, Feb 15, 2011 at 1:46 AM, Stuart Tremain <webdna@idfk.com.au> wrote:
David

I like the way you have the iFrame working, it gives me a couple of ideas :)

When I "liked" your first example I still got BB= B ....

yet "5: liked:" did change from true to false


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 15/02/2011, at 5:36 PM, David Bastedo wrote:
Here is a working, authenticated tab that shows all the initial variables - country code, userid, liked etc.

http://www.facebook= .com/pages/Band-HQ/169816586398236?sk=3Dapp_126463440760566

If you "like it" you'll get AAA and if = you don't Like it. you will get "BBB"

I had to authorize this application and I haven't tried to do that gracefully yet, but it's basically a three step process.
Once you create an application and set up a page and a tab, within a folder - I use "fb" - t= hen the following three steps occur in order to authorize your app


This is how to authenticate the app:


<a href=3D"https://www.facebook.com/dialog/oauth?cl= ient_id=3D126463440XXXXXXXX&redirect_uri=3Dhttp://www.XXXXXXX.com/fb/">Step1</a><br />

<a href=3D"
https://www.facebook.com/dialog= /oauth?client_id=3D126463440XXXXXXXX&redirect_uri=3Dhttp://www.XXXXXXXX= .com/fb/&scope=3Demail,read_stream,user_likes,user_location,publish_str= eam,create_event">step 2</a><br />

<a href=3D"https://graph.facebook.com/oauth/access_token?clien= t_id=3D126463440760566&redirect_uri=3Dhttp://www.XXXXXXXX.com/fb/&c= lient_secret=3DXXXXXXXXXXXXXXXXXX&code=3D[code]">step 3</a><br />

code=3Dthe response back from Facebook
This will then get you a key, which will open all the doors

tab.html is the document that gets loaded in your tab.

Here is a version - not yet authenticated, so it only shows right ow when you like the band, but it pulls in dynamic content via webdna, so I'll add the two parts together and I should no be able to show custom data by country and whether they like the page or not.

http://www.facebo= ok.com/thetrewsmusic#!/thetrewsmusic?sk=3Dapp_182877448415423





--
David Bastedo
Ten Plus One Communications Inc.
http://www.10plus1.com
T.=A0 416.603.2223
M. 416.277.4499
My Profiles 3D"Delicious" 3D"Twitter" 3D"Google"
Find me on davidbmbastedo@gmail.com My Latest Shared Link is: Share on Facebook =96 How to embed your own Videos on someone's Facebook wall when your web pages are =93Shared=94 on Facebook=


On Tue, Feb 15, 2011 at 1:17 AM, Stuart Tremain <webdna@idfk.com.au&g= t; wrote:
Good on you David

Would love to see it in use ....


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au




On 15/02/2011, at 5:12 PM, David Bastedo wrote:

> Here is the code to get the basic Facbeook information from a user when they go to your custom application installed on your page using the new iframes settings.
>
> Specifically, this example shows how to serve up two types of content depending on whether the person "Likes" you p= age or not.
>
> [!]--Get the signed request and split it to get the JSON Object--[/!]
> [!]--Strip out the elements I don't want and then I use index to find the node I want--[/!]
> [!]--Serve content A or B based on this variable --[/!]
>
> [listwords words=3D[signed_request]&delimiters=3D.]<= br> >
> [showif [index]=3D2]
> [text]splitMe=3D[Decrypt method=3Dbase64][word][/Decrypt][/text]
> [table name=3DJSONconversion&fields=3Dfrom,to] > {
> }
> ,
> "
> [/table]
>
>
> [listwords words=3D[splitMe]&delimiters=3D{,]
>
> [index]: [ConvertChars table=3DJSONconversion][word][/convertchars]&= lt;br />
>
> [showif [index]=3D7]
> =A0 =A0 [showif [ConvertChars table=3DJSONconversion][word][/convertchars]^= true]
> =A0 =A0 =A0 =A0 [text]RUAFAN=3Dtrue[/tex= t]
> =A0 =A0 [/showif]
> =A0 =A0 [hideif [ConvertChars table=3DJSONconversion][word][/convertchars]^= true]
> =A0 =A0 =A0 =A0 [text]RUAFAN=3Dfalse[/te= xt]
> =A0 =A0 [/hideif]
>
>
> [/showif]
>
> [/listwords]
>
>
> [/showif]
> [/listwords]
>
>
> [showif [RUAFAN]=3Dtrue]
> AAA
> [/showif]
>
> [showif [RUAFAN]=3Dfalse]
> BBB
> [/showif]
> -------------------------------------------------= -------- 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 <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us<= /a>
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

--------------------------------------------------------- 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:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--
=20 =20 =20 =20 =20 =20


Jym Duane - CTO - Purpose Media

Creating Your Success Story

Marketing : Television - Internet - Print


Phone: (877) 443-1323=A0 =A0

Email: j= ym@purposemedia.com=A0 =A0

Web: www= .purposemedia.com


Oregon - www.GuideToOregon.com

PO Box 1725,=A0 Jacksonville, OR 97530


California - www.OrangeCounty.net

PO Box 2025,=A0 Capistrano Beach, CA 92624

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--bcaec53f92cb22ca17049c879fb2-- David Bastedo

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:

showif and cart (1997) Splitting a variable (2003) WebCatalog not recognizing ShoppingCarts folder (2000) Credit Card not accepted (1998) RE: Cart Template (1997) Robots fill event log (1997) Multiple catalog databases and showcart (1997) European dates (1998) database with 10,000+ web pages stored in it? (2000) t or f (1997) Help name our technology! (1997) Email...Thanks (1997) New syntax feedback for 4.0 (2000) MATH PROBLEM (1997) interactive .pdf files and WebCatalog (2000) OT: Prevent Caching js Files (2003) The IBC root beer has arrived! (1997) Is everybody getting all the posts? (2002) test (2000) Cookies not setting on IE (2002)