Single-user PHP OAuth request using PECL -


i'm trying implement api (the noun project), , they've provided example: https://gist.github.com/hirobert/710f2e22ed803dc34cc0

i'd love implement using oauth pecl library
i'm unfortunately getting stuck, since doesn't follow conventional oauth flow.

i don't need account's authorization. rather, need use key/secret make calls.

this i'm getting stuck:

$oauth = new oauth(     $key,     $secret,     oauth_sig_method_hmacsha1,     oauth_auth_type_uri ); $oauth->enabledebug(); $oauth->fetch(     $url,     array(),     oauth_http_method_get ); 

am able use oauth pecl library, or should elsewhere?
best if knows of examples of kind of flow, using pecl oauth; i'm sure apply approach case


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -