I am new to ActionCable and I was wondering how to set up multiple room channels for a chat. I was looking it up and still cant figure it out. I want to make each user have their own room channel is there a way to do this? Thank you for the help.
For anyone looking at this and is wondering the same thing this helped me out a lot.
http://www.thegreatcodeadventure.com/rails-5-action-cable-with-multiple-chatroom-subscriptions/
Related
Is there a good way to receive information when customer makes an order?
Judging from the documentation, there isn't. I know there are some apps related to managing payments on Etsy, and I believe they would depend on order feed.
If Etsy does not provide such feed, how would you solve this?
My first idea is to periodically poll the API and request the orders. From there, understand if new order/s happened.
Your help is appreciated.
FYI see https://github.com/etsy/open-api/issues/28 - [FEATURE] New real time feeds/suscriptions #28
Doesn't seem to be implemented yet, but that's probably the place to track it.
Not the best answer, but I'm trying to do the same thing right now. What I'm doing is collecting the transaction ID from the email associated with the Etsy account.
With the transaction ID you can request for the details from Etsy. I'm still trying to figure how to do that myself though.
Currently, there is no straight forward, documented way to subscribe to the "new order created" event. I was hoping this would be one of the must have features on the new API v3, but unfortunately it isn't implemented so far.
am sorry guys for this question its not related to any programming issue but there was someone who disturb me for a while on twitter actually for 7 month and i haven't blocked him until now cause i want to know who is he or she yes am a little bit curious so if he or she send me a direct message again on twitter can I then get his or her IP-Address after that can I know who is him specifically . I have been trying to know him for that long time but with no result so could anyone help me if yes I'll appreciate it and If no there is no problem and thanks
No, this is not possible.
Even if it were, there is no reliable way to link an IP address to a person.
We're developing an app in Rails, and want to randomly display a question to users that they haven't seen yet. Once they answer, it would show the results, and then ask if they want to answer the next question.
Has anyone done this? Is there perhaps some kind of gem that can help us, or do we have to write it from scratch?
Thanks in advance!
I've used the randumb gem for something similar. With it you can use scopes to chain your queries so you could fetch only an un_seen record (and subsequently update it to seen)
https://github.com/spilliton/randumb
I am trying to build an app which acquired information from WiFi Access point, however, this information is not a standard information. i am transmitting additional information from the access point. Now to receive this information, i need to modify the class "WifiInfo." I am not sure how can I do it. I tried googling it, but no luck.
Is it possible to do this?
If yes, How,
Can I do this using any alternate way?
Thanks in advance for your help. :)
I am in the need for large SMS or Twitter datasets. Anybody knows where I might be able to find such things.
Thanks.
you can use this
http://www.infochimps.com/tags/twitter
Answering my own question:
There is an SMS spam collection to those who are in wanting a similar datasets as I am. Here is the link http://www.dt.fee.unicamp.br/~tiago/smsspamcollection/
Try using below links to get twitter datasets
https://data.world/datasets/twitter
https://archive.org/search.php?query=collection%3Atwitterstream&sort=-publicdate
Also you can use Twitter API to collect tweets.