Open ghostcrawler1 opened 6 years ago
Have the same issue
Same issue
Same issue
Same issue, likely we'll have to go change some google keys manually
Yep, solve this by adding your own API key from https://developers.google.com/maps/documentation/javascript/get-api-key
It's using google-map-react, see here to add your API key.
The
Thanks! Why did it all crap out at once I wonder?
Google lets you only call their API so many times
I actually didn't use the recommended bootstrapURLKeys, I used the deprecated apiKey, like this
<GoogleMap
ref={ (ref) => { this.map = ref } }
zoom={ settings.zoom.get() }
center={ [ latitude, longitude ] }
onClick={ this.handleClick }
options={ () => this.mapOptions }
onGoogleApiLoaded={ this.handleGoogleMapLoaded }
yesIWantToUseGoogleMapApiInternals={ true }
apiKey={ MapsApi.apiKey }>
Where MapsApi.apiKey is in a configuration file I added, but you can just put in a string like
apiKey={ 'YOUR_API_KEY_HERE' }
I'll submit a PR with my changes in a bit.
I just tried jerme404's solution; mine now looks like this:
<GoogleMap
ref={ (ref) => { this.map = ref } }
zoom={ settings.zoom.get() }
center={ [ latitude, longitude ] }
onClick={ this.handleClick }
options={ () => this.mapOptions }
onGoogleApiLoaded={ this.handleGoogleMapLoaded }
yesIWantToUseGoogleMapApiInternals={ true }
apiKey={ 'MY_API_KEY' }>
And still no work. Sad face. Any suggestions? I have a 7-year-old champing at the bit to catch some pocket monsters.
Did you put an actual API key in there?
I'm having the same issue. My code currently looks the same as yours, with apiKey={ 'YOUR_API_KEY_HERE' }
YOUR_API_KEY_HERE has been replaced with an api key generated by 'google maps apis' website. Still not working unfortunately.
Still the same error OVER_QUEY_LIMIT after rebuilding?
Yes
should I upload my index file for review?
Yes, I definitely pasted in the API key I got from Google in place of MY_API_KEY
Is there a step I'm missing? I edited the file, made the above changes, saved the file, and re-opened the spoof app.
I also followed the instructions for adding a new API and it did not fix it.
I would also be happy to upload or email my index.js file, or use your recommended steps of creating another config file; I'm not 100% sure how to do the latter.
Here's a copy of my non-functioning file index.js.zip
Same issue.
Does anybody know if using gitter to collaborate right now to get things working by tonight.
You have to actually rebuild the project, it won't work by just editing the index.js file.
Pardon my ignorance, is that the same as restarting the program, or is there a rebuild process we should be doing. And thank you very much for your help on this.
If you navigate to the project in a terminal window, just type npm run build
to build a new version. That will create a new folder (if it's not there already) called 'pokemongo-webspoof-darwin-x64' and your new build will be in there.
Yep, that doesn't so much work for me either. Here's a screenshot from Terminal:
Sorry to be such a pain...
Simply open "GoogleMap.spec.js", find
const API_KEY = 'API_KEY';
and replace 'API_KEY' with yours like this:
const API_KEY = 'AI.........';
Im getting the following error while building. Any ideas?
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
In webpack.config.babel, change the output path like this
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
chunkFilename: '[name].js'
},
then add require path up top like
const path = require('path');
There's a PR with my changes.
Is there a simplified fix for this yet for those of us who apparently aren't quite as tech-savvy? I've tried following the various tips in this thread but I'm getting no results, and can't even find some of the files referenced, like GoogleMap.spec.js
jerme404, thanks for the help. I got it working.
ascenser if you need help, I can compile the app for you.
I can't find the file where I have to put my generated key in. Programming is not my strength :-(
Is there anybody who could help me adding the key and rebuild the project?
Thanks in advance!
I have the same issue, i got my own API key from google, but i am not a developer. Is anyone able to help me via TeamViewer? Or compile the app with my API key? Help is really appreciated.
@ItaloFSS
could you please help compile the app?
Tried for an hour, still not working.
I put a new build on Google Drive if you check the gitter link posted above.
I suppose someone could make the api key configurable in the UI.
@jerme404 , which link do you mean?
nevermind, found it. Thanks
Here's the link https://www.dropbox.com/sh/gvrrvl8dkhzpior/AABN1dHcP0_o6lSPOZ111EL1a?dl=0
Get it now, I'm deleting the file tomorrow.
Good-luck.
This folder is empty...
It was uploading. Is there now.
Thanks, i got it. While running i get the following error:
Any solution for this?
Under Security & Privacy > Accessibility add the app, Terminal, and Script Editor (the last two are found in the app utilities folder)
Wonderful. Thx again
Thank you guys for the help! Works perfectly again.
thanks a lot! @ItaloFSS will give another try from jerme404 advice as well.
@yrchern That didn't work for me
So I downloaded git hub, all the source files and found where I needed to add my API in the source code text file. Can someone walk me through the process of compiling everything into a new app? Do I need another program. Sorry completely new at this.
@ry4meck
$ git clone https://github.com/iam4x/pokemongo-webspoof.git
$ cd pokemongo-webspoof && npm install
$ npm run dev
@jnrepo where is that done from? from the github desktop app or is there something else I'm missing?
@ry4meck did you use terminal to clone the repository then make the code changes? Or did you download from releases?
You have to use the terminal to build the program after you make the code changes.
@jnrepo downloaded the releases to desktop. main folder is " pokemongo-webspoof-master". Then I found the file that had the API needed changed, changed it via text file and then saved. That's basically where I am. So I guess I need to open terminal and figure how to import that and then build everything
there are 2 ways to change this:
Change the apiKey value to your own:
apiKey: 'REPLACE_WITH_YOUR_KEY'
Change
<GoogleMap
...
apiKey={ MapsApi.apiKey }>
to
<GoogleMap
...
apiKey="YOUR_KEY">
So I've been using this for a few months and today I got the error OVER_QUEY_LIMIT, after reading this I got my new API key, but I cannot find out how to add this on my iMac. I tried reading all the above info, but no idea where to find pokemongo-webspoof/src/config/api.js etc. Can somebody give me a walkthrough?
Hello,
Thank you for this app, its been working great until today when I tried to run a location search and I've been receiving the error OVER_QUEY_LIMIT. Any ideas how I can resolve this issue.
Thanks