Re: [PD] [PD-announce] PuREST JSON 0.11

2013-02-24 Thread Thomas Mayer
On 24.02.2013 13:15, Thomas Mayer wrote:
> Until then, unfortunately only the Facebook API
> will work with PuREST JSON:
> http://developers.facebook.com/docs/reference/rest/

Only the _old_ Facebook API

Thomas

-- 
"Prisons are needed only to provide the illusion that courts and police
are effective. They're a kind of job insurance."
(Leto II. in: Frank Herbert, God Emperor of Dune)
http://www.residuum.org/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 0.11

2013-02-24 Thread Thomas Mayer
Hi,

On 23.02.2013 17:04, Thomas Mayer wrote:
> Hello,
> 
> version 0.11 of PuREST JSON is released. Codename: Long string is long.
> 
> PuREST JSON is a library for working with RESTful HTTP webservices,  and
> JSON data.

several people have contacted me, because they wanted to use the graph
API of Facebook with PuREST JSON. Unfortunately, Facebook uses OAuth
2.0, and liboauth (and therefore PuREST JSON) only supports OAuth 1.1 -
and even this not completely as signing requests with RSA-SHA1 keys is
not implemented yet.

I am willing to switch the backend library for OAuth, but I have not
found one that implements version 2.0, and I am not willing to implement
this version all by myself, as the specs are ... let's say very
enterprisy (http://hueniverse.com/2012/07/oauth-2-0-and-the-road-to-hell/).

So, either liboauth will support OAuth 2.0 sometime in the future, or
another library emerges that will support version 2.0 (is there
something available?). Until then, unfortunately only the Facebook API
will work with PuREST JSON:
http://developers.facebook.com/docs/reference/rest/

Thank you,
Thomas
-- 
"Ich komme aus dem Staunen nicht heraus."
"Dann bleib halt drin, du Seppel"
(Dietmar Dath - Die Abschaffung der Arten)
http://www.residuum.org/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 0.11

2013-02-24 Thread Thomas Mayer
Hi,

On 23.02.2013 23:53, me.grimm wrote:
> hello,
> 
> just a report if you need one, on osx
> 
> liboauth seems to compile and install fine (is not in fink, i just
> grabbed it from sourceforge). just:
> ./configure
> make
> make install
> 
> and your oauth seems to find oauth.h fine with that.
> 
> also instead if libcurl4-ssl  which you have in your directions i used
> $ fink install libcurl4 and libcurl4-shibs
> 
> Running make in the purest_json folder = all is well and i have
> binaries that load with you help files.
> 
> ./embed-MacOSX-dependencies.sh is also pretty nice.

Thank you for travelling^W trying out the library and your feedback.

I just updated the build instructions for Mac OS X:
https://github.com/residuum/PuRestJson/wiki/Compilation

Feel free to make edits to this page, that of course applies to build
instructions for any other OS and/or architecture.

Thanks,
Thomas
-- 
"We left all that stuff out. If there's an error, we have this
routine called panic, and when it is called, the machine crashes,
and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie)
http://www.residuum.org/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 0.11

2013-02-23 Thread me.grimm
hello,

just a report if you need one, on osx

liboauth seems to compile and install fine (is not in fink, i just
grabbed it from sourceforge). just:
./configure
make
make install

and your oauth seems to find oauth.h fine with that.

also instead if libcurl4-ssl  which you have in your directions i used
$ fink install libcurl4 and libcurl4-shibs

Running make in the purest_json folder = all is well and i have
binaries that load with you help files.

./embed-MacOSX-dependencies.sh is also pretty nice.

only prob is my whole system is 64bit fink on 10.7. i dont think i can
build universal (or can i?). maybe someone can build on 32bit?

thanks for the cool work!
cheers
m

On Sat, Feb 23, 2013 at 11:04 AM, Thomas Mayer  wrote:
> Hello,
>
> version 0.11 of PuREST JSON is released. Codename: Long string is long.
>
> PuREST JSON is a library for working with RESTful HTTP webservices,  and
> JSON data.
>
> Authentication and authorization for webservices are available with
> basic HTTP auth, cookie authentication, and OAuth. As an example for
> OAuth authenticated webservices, a Twitter client is included.
>
> Changes in the new version:
> - symbols can be longer than MAXPDLENGTH (1024 characters)
> - [json-decode] works with lists and any other data type as well
> - Setting request timeout for [rest] and [oauth] possible
> - Cleaning up of source code and help files
> - Bugfixes:
>   -- [oauth] posts data again
>   -- Fixed segfault in Windows at errors
>
> Github page: https://github.com/residuum/PuRestJson
> Binary downloads for Windows and Debian:
> http://ix.residuum.org/pd/purest_json.html
> Build instructions: https://github.com/residuum/PuRestJson/wiki/Compilation
>
> Have fun,
> {"name": "Thomas"}
> --
> "Ich komme aus dem Staunen nicht heraus."
> "Dann bleib halt drin, du Seppel"
> (Dietmar Dath - Die Abschaffung der Arten)
> http://www.residuum.org/
>
> ___
> Pd-announce mailing list
> pd-annou...@iem.at
> http://lists.puredata.info/listinfo/pd-announce
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] PuREST JSON 0.11

2013-02-23 Thread Thomas Mayer
Hello,

version 0.11 of PuREST JSON is released. Codename: Long string is long.

PuREST JSON is a library for working with RESTful HTTP webservices,  and
JSON data.

Authentication and authorization for webservices are available with
basic HTTP auth, cookie authentication, and OAuth. As an example for
OAuth authenticated webservices, a Twitter client is included.

Changes in the new version:
- symbols can be longer than MAXPDLENGTH (1024 characters)
- [json-decode] works with lists and any other data type as well
- Setting request timeout for [rest] and [oauth] possible
- Cleaning up of source code and help files
- Bugfixes:
  -- [oauth] posts data again
  -- Fixed segfault in Windows at errors

Github page: https://github.com/residuum/PuRestJson
Binary downloads for Windows and Debian:
http://ix.residuum.org/pd/purest_json.html
Build instructions: https://github.com/residuum/PuRestJson/wiki/Compilation

Have fun,
{"name": "Thomas"}
-- 
"Ich komme aus dem Staunen nicht heraus."
"Dann bleib halt drin, du Seppel"
(Dietmar Dath - Die Abschaffung der Arten)
http://www.residuum.org/

___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list