Can I “add friend” with Facebook’s API?
No. Adding friends is not possible through the API. However you can direct users to http://www.facebook.com/addfriend.php?id=[USER UID] Where [USER UID] is a valid facebook user id. Good luck!
No. Adding friends is not possible through the API. However you can direct users to http://www.facebook.com/addfriend.php?id=[USER UID] Where [USER UID] is a valid facebook user id. Good luck!
The global_merge_vars parameter allows you to pass global values for a particular merge tag, to be applied for all recipients in that API call by default, while merge_vars allows you to specify per-recipient values based on the recipient email address (this is why the rcpt is declared for merge_vars). The content in the email or … Read more
You can now remove all controls just wanted to update anyone new looking at this. It now appears to be possible to have an embeded video without any of the controls, by using an experimental feature: background=1 Things to note All player toggles and elements will be turned off (including the play/pause button!) The video … Read more
You can do what you need in a couple of ways. This will place a middleware that will be used before hitting the router. Make sure the router is added with app.use() after. Middleware order is important. app.use(function(req, res, next) { // Put some preprocessing here. next(); }); app.use(app.router); You can also use a route … Read more
I would use RabbitMQ and consume events forwarding them as push notifications. This will work while the user is not actively connected to the website and enhance the engagement with each user experience that will return to the website when notified for more information see How to setup basic web push notification functionality using a … Read more
There are a number of 4xx HTTP status codes. The most likely are either 404 or 409: 404 Not Found The server has not found anything matching the effective request URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, … Read more
Most mobile providers support SNPP (Simple Network Paging Protocol). Despite the name, SNPP is also used to send text messages to cell phones. It’s really easy to use. Just determine which mobile provider each user is using and then dispatch a “page” to the corresponding SNPP server. For example, Sprint’s SNPP server is snpp.messaging.sprint.com:444. The … Read more
When a server receives an API call, it needs to know two things: Who is making the call, and whether or not the call is legitimate. If you just had one item (“key”), and included it with every call, it would answer both questions. Based on the “key” the server knows who you are, and … Read more
I’ve now spent some time researching the options and would like to summarize the findings. First, a little bit more context — I develop and control both the service and API consumer. Consumer is Flash-based app that is served from the same host the API is now and is supposed to be used in browser. … Read more
I recently had the same problem and I did not find anything. So I created a simple tool to do it. It is a very basic javascript application written with react.js. At the moment it is very basic, but I’m working on it, so any feature request is welcome. You can use it for free … Read more