Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 01 00:26
    @bjorno43 banned @Ndoua
  • Jan 07 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Aug 17 2019 01:43
    @bjorno43 banned @linkin-park
  • Jun 20 2019 21:20
    @bjorno43 banned @shenerd140
  • May 10 2019 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 2019 19:47
    @mstellaluna banned @zhonghuacx
  • Apr 25 2019 17:12
    @mstellaluna banned @cmal
  • Jan 08 2019 22:00
    @mstellaluna banned @dertiuss323
  • Dec 15 2018 23:36
    @mstellaluna banned @18835579411
  • Dec 13 2018 23:57
    @mstellaluna banned @brandon6190
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:13
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:58
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:15
    User @bjorno43 unbanned @jkyereh
Jon Lucas
@jonslucas
But, I am also interested in figuring out what I was missing in the cse api
eeseesee
@eeseesee
I spent yesterday figuring it out. You need to start https://cse.google.com and add a search engine. For now, type in anything in the sites to search (e.g. www.google.com). Give it a name you'll recognize later. If you search engine is successful, you'll be on a page with an option to Modify your search engine. Click on the Control Panel button. Under the Basic tab, under Site to Search change the drop down to Search the entire web but emphasize included site. Now you can delete the sites to search that you set when you created the search engine. Toggle allow image search to ON. Save your changes. Now you've basically recreated google search with image search enabled - it will search the entire web and allow you to search images through the api url. On this same page you can get your search engine ID - which you will need for your api url. Copy and paste that to your .env file. Now go to console.developers.google.com and create a new project. In your new project dashboard, click the hamburger menu button and select API Manager. Start by creating credentials. Create an API Key - Browser Key. Copy and paste the key to your .env file because you will need it in your api url. Now for the final step! From the API manager click Overview. Search for the Custom Search Engine API and click enable. That is it. Now you should be able to access your custom search engine using the url https://www.googleapis.com/customsearch/v1?key=GOOGLE_API_KEY&cx=GOOGLE_CSE_ID&q=SEARCH_STRING&searchType=image
I hope I am not leaving any steps out! It is definitely complicated. I was hung up on the final step, enabling the custom search api for hours yesterday.
Rafael J. Rodriguez
@Rafase282
thanks @anders462 for your help
CamperBot
@camperbot
rafase282 sends brownie points to @anders462 :sparkles: :thumbsup: :sparkles:
:star: 333 | @anders462 | http://www.freecodecamp.com/anders462
Anders Bengtsson
@anders462

@Rafase282 localStorage api example

localStorage.setItem('token', 'my token');

localStorage.getItem("token"); /// "my token"

simple as that

Rafael J. Rodriguez
@Rafase282
really? wow
Jon Lucas
@jonslucas
@eeseesee I was soo close. It appears all I was missing was the searchType=image query param
How did you discover that part of it?
I found the docs to be rather unhelpful personally
But perhaps I was looking in the wrong area
eeseesee
@eeseesee
I used a combination of the google documentation and stack overflow responses when things didn't work
Jon Lucas
@jonslucas
Well, I'm glad it was something really minor and not something rather fundamental. Thanks a lot @eeseesee
CamperBot
@camperbot
jonslucas sends brownie points to @eeseesee :sparkles: :thumbsup: :sparkles:
:warning: could not find receiver for eeseesee
Jess Johnson
@jessjo
Hi - I'm on 'build a voting app' and I tried to use the heroku example but for whatever reason when I authenticate through twitter it fails. Unfortunately this means I can't see how they build polls. I have a rough idea of an easy-to-implement interface but I wanted to see what they did. Anyone else have this problem? Or have a working solution I can try?
Darryl Pargeter
@darrylpargeter
Jess Johnson
@jessjo
thanks again @darrylpargeter
CamperBot
@camperbot
jessjo sends brownie points to @darrylpargeter :sparkles: :thumbsup: :sparkles:
:star: 745 | @darrylpargeter | http://www.freecodecamp.com/darrylpargeter
Darryl Pargeter
@darrylpargeter
np =], maybe post a bug about that example
Jess Johnson
@jessjo
Will do. That's why I was asking if anyone else ran into it
Darryl Pargeter
@darrylpargeter
@jessjo also have the same issue, and good luck with the voting app =D
Jess Johnson
@jessjo
thanks! It's really intimidating but I'm trying to tackle one component at a time...
bug filed if you care (FreeCodeCamp/FreeCodeCamp#7209)
Darryl Pargeter
@darrylpargeter
yer, they are very intimidating at first but get easyer =D
Mafalda
@otmeek
This message was deleted
This message was deleted
This message was deleted
Rafael J. Rodriguez
@Rafase282
@anders462 I'm checking your repo for the voting app, it loosk like you also used passport or just forgot to remove it? Let me know when you have some time.
Francisco Knebel
@FranciscoKnebel
Hey everyone, starting up on the API projects now. FCC recomends to use Clementine for the back end projects, but should I? The api ones look simple enough to do without. How was your experience in doing them?
satish
@satishreddy04
@Rafase282 can u explain about the wikipedia viewer coding.
Rafael J. Rodriguez
@Rafase282
@satishreddy04 my code or about the problem in general?
Nicole Ferguson
@nicolefffe
@KyoZeus I followed along with the basic Clementine tutorial to help me understand routes and stuff, since I didn't quite understand that yet, but I didn't need to actually use Clementine for any of the API projects
Francisco Knebel
@FranciscoKnebel
@nicolefffe yeah, i'm reading the documentation now, and I don't think it really is needed for API projects. It just adds overhead
@nicolefffe since you didn't need to, i'll start without it too. Thanks :smile:
CamperBot
@camperbot
kyozeus sends brownie points to @nicolefffe :sparkles: :thumbsup: :sparkles:
:star: 337 | @nicolefffe | http://www.freecodecamp.com/nicolefffe
Ka Lun Lee
@kalunlee136
hi all, im working on the book sharing project. do you guys know of any good book APIs?
Darryl Pargeter
@darrylpargeter
@kalunlee136 I think most people use google books api
Ka Lun Lee
@kalunlee136
@darrylpargeter oh ok, i'll look into that one then. i tried the goodreads one and the docs are kind of confusing
@darrylpargeter thanks
CamperBot
@camperbot
kalunlee136 sends brownie points to @darrylpargeter :sparkles: :thumbsup: :sparkles:
:star: 748 | @darrylpargeter | http://www.freecodecamp.com/darrylpargeter
Agustina
@abrden
hi guys, did anyone had to use the MongoLab add-on to deploy the APIs to Heroku?
Darryl Pargeter
@darrylpargeter
I did
Agustina
@abrden
Is there any way to do it without verificating the account with a credit card?
Darryl Pargeter
@darrylpargeter
not that I know of
think if you have more then 5 app/ what to use a add on have to enter your deatils