Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feed url does not show #30

Closed
and1990 opened this issue Jan 4, 2019 · 5 comments
Closed

feed url does not show #30

and1990 opened this issue Jan 4, 2019 · 5 comments

Comments

@and1990
Copy link

and1990 commented Jan 4, 2019

Hi, guys.
I have faced a problem when I built fluttergram.

After I deployed my functions, the console didn't show feed url, the log is:

~/firebase  firebase deploy --only functions

=== Deploying to 'fluttergram-ae7fd'...

i  deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run lint

> functions@ lint /Users/liutengfei/firebase/functions
> tslint --project tsconfig.json


WARNING: /Users/liutengfei/firebase/functions/src/index.ts[1, 1]: 'functions' is declared but its value is never read.

Running command: npm --prefix "$RESOURCE_DIR" run build

> functions@ build /Users/liutengfei/firebase/functions
> tsc

✔  functions: Finished running predeploy script.
i  functions: ensuring necessary APIs are enabled...
✔  functions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...

✔  Deploy complete!

Project Console: https://console.firebase.google.com/project/fluttergram-ae7fd/overview
@harshapulikollu
Copy link
Contributor

Hi, in most of the cases your feed url should be "

https://storage-location-project-name-in-firebase-console.cloudfunctions..net/getFeed"

for example it can be like shown below

https://us-central1-flutterggram.cloudfunctions.net/getFeed?uid=_userID_

where userID is passed dynamically.

@mdanics
Copy link
Owner

mdanics commented Jan 7, 2019

@and1990 Were you able to get it working with @harshapulikollu's comment?

@and1990
Copy link
Author

and1990 commented Jan 10, 2019

@mdanics Hi, sorry for reply late.
Actually, I don't figure out what he said. When I ran 'firebase deploy --only functions' command, the console didn't show some URLs like the 'getFeed' URL. What should I do?

@mdanics
Copy link
Owner

mdanics commented Jan 10, 2019

If you log in to firebase and click the functions tab you can see the url which you can copy and paste.

screen shot 2019-01-10 at 12 00 00 pm

Let me know if this works

@mdanics
Copy link
Owner

mdanics commented Jan 31, 2019

@and1990 did you find the url?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants