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

Issue with social-messenger-ts #74

Open
matsmello opened this issue Feb 20, 2023 · 3 comments
Open

Issue with social-messenger-ts #74

matsmello opened this issue Feb 20, 2023 · 3 comments

Comments

@matsmello
Copy link

Hello team, I tried to run the social-messenger-ts repository but unfortunately didn't work.
I added the variable keys to the .env file but this was my final result.

image

I am also receiving this error on my console tab on Google Chrome.

image

These were my steps:

  1. yarn install
  2. copied .env-example to .env.development
  3. replaced the example keys with my keys
  4. run

To find the REACT_APP_STREAM_KEY, I used this value:

Screenshot 2023-02-20 at 09 43 28

To find the REACT_APP_USER_ID, I used this value:

image

To find the REACT_APP_USER_TOKEN, I used the link mentioned with the secret and user id mentioned above.

Probably, I am missing something since it is my first time using this service, but I would appreciate some help, thank you in advance.

@oliverlaz
Copy link
Member

hi @matsmello, thanks for trying out our demo.

From the screenshot you provided, everything seems to be ok as the error you see shouldn't be related to us but to some 3rd party browser extension you might be using.

The probable reason why your version of the app looks empty is the lack of data. May I ask you to create a few users and channels in our backend dashboard first?

Additionally, you can use the following sample data generator (useful for test/dev environments):

Please let me know how it goes.

@matsmello
Copy link
Author

Hello @oliverlaz, thank you for the quick response.
I used the generator tool, and it seems now that I have users and channels but my screen is still empty.

This is my current dashboard:

image

I can see conversations and users on the dashboard but on the react app I am still seeing this:

image

Can you tell me if it is working on your side? I don't want to bother you for something stupid on my side.
Thank you again for helping me.

@oliverlaz
Copy link
Member

hi @matsmello, can you check whether your current user alternlp is a member of those channels? I'd guess it isn't.
You have two options, add the user to the channels manually on the dashboard or, you can tweak the default filters:

You can read more about filtering and querying in general in our documentation:

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

2 participants