[TEASER] LiveCode <3 Facebook
Thomas McGrath III
mcgrath3 at mac.com
Thu Mar 17 10:27:41 EDT 2011
Andre,
Any word on the OAuth2 Library progress?
I have a need.
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgrath at comcast.net
>> On Feb 21, 2011, at 10:15 AM, Andre Garzia wrote:
>>
>>> Folks,
>>>
>>> Thanks for the kind words, I just wanted to stir things a little. This
>> new
>>> OAuth2 library will be available for Mac, Windows, RevServer and iOS.
>> There
>>> will be no linux version for now due to lack of RevBrowser on that
>> platform.
>>> OAuth 2.0 is easier to implement than OAuth 1.0, thats why I am moving
>> along
>>> with that one first.
>>>
>>> Right now the library is too unstable. While the test on the video went
>> ok,
>>> that was the fourth time I tried to record the movie. I hope to fix the
>> bugs
>>> on the library shortly.
>>>
>>> My plan is to make both OAuth 1.0 and OAuth 2.0 libraries free and create
>> a
>>> commercial offering in the form of little libraries on top of OAuth
>>> libraries such as Facebook libraries. Right now, even though I have a raw
>>> OAuth implementation, it is not a pure facebook library. I think such
>> little
>>> libraries would be worth 25 USD or something.
>>>
>>> Anyone will be able to download the OAuth stuff and use it to build their
>>> own Facebook or Twitter stuff, but sometimes, having does things ready is
>>> worth some bucks.
>>>
>>> Code for that example is this:
>>>
>>> Authorization:
>>>
>>> put empty into gA
>>> put OAuth2NewWebService("facebook") into gA
>>> OAuth2SetClientID gA, "blablabla"
>>> OAuth2SetApplicationSecret gA, "blablabla"
>>> OAuth2SetAPIKey gA, "blablabla"
>>> OAuth2SetRedirectURI gA, "
>>> http://www.facebook.com/connect/login_success.html"
>>> OAuth2SetAccessTokenURL gA, "
>>> https://graph.facebook.com/oauth/access_token"
>>> OAuth2SetAuthorizationCallback gA, "authorizeCallback"
>>> get OAuth2RequestAuthorization(gA,
>>> "https://www.facebook.com/dialog/oauth
>> ",,,"read_stream,publish_stream,offline_access")
>>>
>>>
>>> Posting to wall:
>>>
>>> ask "What to post?"
>>> put the urlencode of it into tMsg
>>> put ("access_token=" & urlencode(gA["access_token"]) & "&message=" &
>>> tMsg) into tData
>>>
>>> post tData to URL "https://graph.facebook.com/me/feed"
>>>
>>>
>>> :-D
>>>
>>> PS: OAuth 1.0 is ugly... HMAC-SHA1 encoding is wrong in here.
>>>
>>> On Mon, Feb 21, 2011 at 5:52 AM, paolo mazza <mazzapaoloitaly at gmail.com
>>> wrote:
>>>
>>>> Thank you Andre.
>>>> This is very interesting. Can you tell us more about this new OAuth2
>>>> library for LiveCode? It looks like it works pretty well . Is it gonna
>>>> be available soon?
>>>> All the best
>>>> Paolo Mazza
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>
>>>
>>>
>>> --
>>> http://www.andregarzia.com All We Do Is Code.
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list