Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jublo/codebird-cors-proxy
Proxy to the Twitter API, adding CORS headers to replies.
https://github.com/jublo/codebird-cors-proxy
Last synced: about 2 months ago
JSON representation
Proxy to the Twitter API, adding CORS headers to replies.
- Host: GitHub
- URL: https://github.com/jublo/codebird-cors-proxy
- Owner: jublo
- License: gpl-3.0
- Created: 2013-04-26T18:07:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T11:47:22.000Z (almost 4 years ago)
- Last Synced: 2024-03-26T02:07:16.822Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 254 KB
- Stars: 12
- Watchers: 4
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
codebird-cors-proxy
===================
*Proxy to the Twitter API, adding CORS headers to replies.*Copyright (C) 2013-2021 Jublo Limited <[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 .This is the CORS proxy of the Codebird library.
Limited support available at [www.jublo.net](https://www.jublo.net)
### Codebird versions
- JavaScript: https://github.com/jublonet/codebird-js
- PHP: https://github.com/jublonet/codebird-php### 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](https://www.iis.net/downloads/microsoft/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:
```javascript
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.