photon can i create a lobby and restrict what users can enter? - photon

in photon is it possible to create a lobby but restrict who can join that lobby based on their usernames? A whitelist if you will.
Additionally, is it possible to programatically call the api from an external source to create this lobby with the restrictions.
i'm very new to photon and if i'm lucky this is just an api call that i havent found yet. Any help and advice would be much appreciated.

Related

How to initiate a Microsoft Teams call(preferably video) from an external application?

I want to build an application which can initiate Teams video call to certain users.
The application will be running on a stand alone machine(like a kiosk) and upon a certain event, the application should be able to start a teams call to one more more users.
What is the best way to do this ? Following are my questions -
Does the Teams need to run under a resource account on that machine ?
Does this need the help of a teams bot? If it needs a bot, does it need to have a teams account associated with it ?
Do I need Microsoft graph to make the call ? Does graph support video call ?
Can the Microsoft Teams Rooms be used in any way to achieve this ?
I have been reading different documents which seem to offer some aspect of what I want, but not sure what is the best way here. Any help is appreciated. Thanks in advance!
We can initiate a Microsoft Teams call from an external application, We can create a call using an Graph API using an external application. When a call is created need to mention the requestedModalities where audio/video/videoBasedScreenSharing can be define for a call. please check the properties in Call resource type .

Outlook Contact Sync

I want to make an application which sync Outlook. I found there is an API service called Microsoft Graph, but it only allow me to retrieve the contact list.
Let's say I have 1000 users with 200 contacts. If I use polling method, then the complexity will be very complex. Do you guys have any idea to solve this problem? Thank you
The best way to get data from Microsoft Graph in sync with a 3rd party system (native app, backend service...) is to use delta queries. Personal contacts are already supported by the functionality.

Office 365 Rest API : Restrict access to specific mailbox

Within Azure AD, we setup an application to provide access to mailboxes through API. This works.
However, I'd like to know if there is a way to restrict such access to specific mailboxes only ?
From the Microsoft interface, it looks like we can only set permissions at a whole level...
I hope this question has not been answered yet (I did a search first), but I am new on this board so pardon me if I am wrong :)
Thanks and have a good day,
Guillaume
This is true and today app-only access cannot be scoped to a particular mailbox. Can you please share your thoughts on User Voice. https://officespdev.uservoice.com, so that the product team can prioritize this and add it to their list of work items.

Adding real-time collaboration to an app

I'm creating a scoreboard app and I'd like to add some collaboration functionality. All I need is for users to be able to add other users, and that lets them work on the same scoreboard. Would adding the Real-Time Match Game Center feature to my app give me this functionality, or is there a better way to go about it? I've read up a bit on the Game Center Programming Guide, but I hesitate going that route because I want users to be able to add people who aren't on Game Center (without the collaboration feature), and aside from that all the user's saved data is stored locally on the device and I'm not sure how that would be affected.
You should use something like SocketIO, there's a very good swift library.
From their web page:
Socket.IO enables real-time bidirectional event-based communication.
SocketIO leaves an open connection so you can send messages to the server, and the server will broadcast to any other user... SocketIO works great with chats and I think is the perfect solution for what you want to do, also SocketIO supports multiple users connected to the "same channel"

Inviting Users to Events via Facebook API

I'm able to create an event via the Facebook Graph API but I have yet to see a way in which to invite users to that event.
My fallback is to simply use the old REST API but sooner or later that will be phased out so I wanted to see if anyone had any suggestions.
--
Additional side question:
While using the REST API (or possibly even the Graph API) I have not found a way to invite guests who are not on Facebook. Is there a way to do this?
--
Thanks in advance for your help.
The bad news is that I think you're stuck with the REST API, at least I couldn't find another way (see http://bugs.developers.facebook.net/show_bug.cgi?id=10070 if you haven't already). The good news is that there's still so much functionality missing from the graph API that I'm pretty sure Facebook isn't going to be phasing it out any time soon. Very frustrating though...
can I use the JavaScript SDK to call the old REST API method ?
JS SDK

Resources