jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
776 stars 234 forks source link

Twitter Feed Broke - Codebird: Response to preflight request doesn't pass access control check #208

Closed GeorgeD19 closed 7 years ago

GeorgeD19 commented 7 years ago

This is affecting my own sites, however it can also be seen on the demo site https://pavelk2.github.io/social-feed-example/.

Check the console log to find a huge amount of errors saying the following: XMLHttpRequest cannot load https://api.jublo.net/codebird/oauth2/token. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://pavelk2.github.io' is therefore not allowed access. The response had HTTP status code 502.

GeorgeD19 commented 7 years ago

Sorry meant to post this on https://github.com/pavelk2/social-feed/