neilcrookes / http_socket_oauth Goto Github PK
View Code? Open in Web Editor NEWExtension to CakePHP HttpSocket class to support OAuth
Home Page: http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/
Extension to CakePHP HttpSocket class to support OAuth
Home Page: http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/
How hard would this be?
One of the reasons is at the top of the vendor plug in cake 2.4 + now uses App::uses instead of App::import, the correct way to do it for cake 2.4 is App::uses('HttpSocket', 'Network/Http');
Beyond that I got an error returned to me that buildUri wasn't a valid method as my next error: Call to undefined method HttpSocketOauth::buildUri()
File: app\Vendor\HttpSocketOauth.php
Line: 124
Any help would be appreciated.
When requesting the access token from google I get an error about Content-Length being missing from the header.
Unless I've screwed something up (which is very possible), I can't get this to work in the latest version of Cakephp. I think it has something to do with the updates to App::import.
See:
http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#including-files-with-app-import
Cool lib but I need support for Bearer as Google decided to strictly use those only.
I have modified the http_socket_oauth lib to allow sending pictures on Twitter with API 1.1
Details at:
http://stackoverflow.com/questions/21801122/request-format-to-tweet-an-image/21818769#21818769
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.