anantdgoel / ProjectFib

Chrome extension to flag fake news on Facebook. Built at HackPrinceton '16
https://www.projectfib.com
Open Software License 3.0
747 stars 180 forks source link

Not seeing any badges - possible CORS issue #28

Closed dchersey closed 7 years ago

dchersey commented 7 years ago

Hello,

First of all ... friggen' great idea! I'm looking forward to helping this come alive in any way I can. I'm a developer with an non-profit organization that is actively looking for ways to apply technology to the way we live, relate, communicate and operate in the world so we can all thrive together. This fits right in; if we tell when we are reading or spreading disinformation we can choose not to do it and increase the chances of finding truth.

Second -- a possibly dumb question but I have installed this in chrome and I do not see any verified/unverified badges in my newsfeed. Not clear whether I should see one on every post or only those that can be reliably verified or discredited. I haven't actually tried posting any fake news yet -- do you have an example I could try to see if that is working?

Thanks for all your work on this! It's a very powerful idea and I'd like to help in any way I can.

dchersey commented 7 years ago

Further investigation ... I see

Fetch API cannot load https://trustfb.herokuapp.com/?content=http:canal311.com/en/sex-education-for-children-norways-tv-6/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://ofpheinlpjdffpdakjegbcphdfeekpnn' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

in the javascript console. Is this part of the backend? If so, probably what is preventing this from working.

lewisje commented 7 years ago

Neither this service, nor the dev service pointed to in the repo, is currently set up; I hope the better backend server they were talking about gets set up soon.

dchersey commented 7 years ago

Ok, thanks. Appreciate all the work everyone is putting into this!

lewisje commented 7 years ago

Lately I have been seeing the badges, so it looks like the services have been set up.

anantdgoel commented 7 years ago

This was fixed a while ago, so I am gonna go ahead and close this. Here is a link to the extension that uses an upgraded set of our APIs: https://chrome.google.com/webstore/detail/project-fib/njfkbbdphllgkbdomopoiibhdkkohnbf

gvaldez81 commented 7 years ago

Question, the source code of final project wont be available to the public? Im guessing not because of your last comment @anantdgoel ...