Skip to content

john-everden/codebird-cors-proxy

 
 

Repository files navigation

codebird-cors-proxy

Proxy to the Twitter API, adding CORS headers to replies.

Copyright (C) 2013-2015 Jublo Solutions <[email protected]>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

This is the CORS proxy of the Codebird library.

Codebird versions

Requirements

  • For use with codebird-js 2.4.1 or higher
  • PHP 5.5.0 or higher
  • CURL extension
  • OpenSSL extension
  • For IIS, URL Rewrite is required
    • Uploading media requires the user account of your IIS Application Pool to have NTFS write permissions to the %TEMP% folder.

Set-up

To install the Codebird CORS proxy on your server:

  1. Upload the folder to your webspace.
  2. Rename the folder to “codebird-cors-proxy”.
  3. In your Javascript, tell codebird-js to use the new proxy server:
    cb.setProxy("https://example.com/codebird-cors-proxy/");

Notes

  • Never run your proxy on an unencrypted server connection ("http://"). Using HTTPS is essential for your user’s security and privacy.

About

Proxy to the Twitter API, adding CORS headers to replies.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.1%
  • ApacheConf 1.9%