Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there any way to get notifications about GitHub organisation events on some URL instead of checking notificactions with cron?
Not natively. The GitHub Notifications API does not provide a way to work with notifications in a "push" model, so the best you can do is pull them every so often with cron.
I am also not aware of any third-party services that would automate the task of pushing notifications by hitting a custom URL every time a new notification is pulled from GitHub, even though it would be moderately easy to make such a service.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I'm new to Laravel, I want to update the interface every time there is a change in the database but I think calling a JavaScript every 5s to update the interface is not very efficient, so I wonder what is the most efficient way to do that?
Have you considered using some for of websocket to create a connection between your backend and JavaScript based UI?
Either https://laravel.com/docs/master/broadcasting or https://github.com/beyondcode/laravel-websockets would allow you to notify your UI to request the updates from your Laravel backend.
My personal suggestion would be that you JS would receive a notification that something had changed and then have to obtain the updated information via Ajax so that you are not sending confidential information through Pusher's servers.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
i want to login from my website via link on a partnership website. To program this with PHP, is not a problem for me. But i ask myself if there is a standard or good practice to do this.
My current solution is to use a proxy. Does anyone have a better idea?
Many thanks.
You should definitely take care that the link for log in on that partner website is only valid once. Moreover, you should take care of timing attacks, etc.
The best thing is that you use one-time tokens and that your websites communicate with each other via an internal API. This prevents most of the issues.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm creating a wordpress website, and I want that when I or an user make a post it gets automatically reposted to other sites.
I know that there is API for major websites, for example facebook and twitter. But what if I want to make a post in olx.com? they have no API. Is there a way to create a php function that logs into olx, post and logs out? It doesn't have to be a php function, i'm open to ideas.
There is a lot of reasons to not do that.
Better stay safe and play with the websites that have api, allow feeds or already implemented a way for you to post on their sites.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a client that has an existing CMS and he'd like to pair two of his members at a time to engage in video chat for a tutoring service. Is there a service out there that is php-compatible that would allow for a seamless integration, meaning that the user wont have to create a 2nd account with the video chat provider?
Edit: yes, I know there's a lot of SO questions on video chat, and I've read about 50 of them and all of them seem to be trying to do the whole thing on their own. I'm looking for a solution where all we do is use an API or something like that to connect two users via video chat.
https://streamapi.com/
https://watershed.ustream.tv/ and also a list you might find handy: http://blog.programmableweb.com/2008/08/07/40-video-apis-on-programmableweb/
I just googled for "video streaming api"
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I was wondering if it is possible to give people something when they join my network on Facebook.
I am working on an website where people have to buy credits to get certain services. I want to give them 3 free credits when they join the group on Facebook. Is this possible?
I am also new to Facebook, so I don't know what to create. Should I create a personal account for myself, or should I make this for the company?
And how is this network called, is it a fan-club, a group, or something else?
Can someone point me in the right direction.
On a side-note: My application is in late development stage. Can I develop this setup in private mode, or should my website be already up and running? I'm working in PHP/MySQL.
You can check and see if the user is a fan of a page (your page) via their API