Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by michaelbb · Jun 22, 2019 at 09:40 PM · Friendswindows

C#/UWP: Friend-confirmation

Hi there,

I know there had been many questions regarding the topic. But unfortunately one thing is still unclear to me:

How can I add a friend to both players' lists?

Eg if players A adds player B to his list, player B does not know anything about player A, so how B add A to his list???

Many thanks for your hints.

Best wishes,

Michael

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Jun 24, 2019 at 08:37 AM

It is true that adding friends is one-way on PlayFab and I think the work around for now is to implement the adding-friend system on Cloud Script.

However, to avoid abusive use from users, you may need to add an invitation/acceptance system in your client, which is not easy to implement. There is no native-supported feature of it and you may use Player Read-Only Data to craft one. Write inviter ID and invitee ID into a player data and player clicks Accept/Decline button will execute Cloud Script functions to add friends for both sides or simply delete this invitation entry.

In addition, pushing an invitation message to a target player is only supported in the form of Push Notification or sending email for now, which is like what I have mentioned - not easy to get this friend system practical, however, you may be interested in the Private Preview feature PubSub. This is a feature that meets your requirement and if you are interested in trying it, please contact us at helloplayfab@microsoft.com.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    C#/UWP: AddFriend per Cloud Script fails 5 Answers

    Adding friends with two-way confirmation 1 Answer

    Friend List - Get online status or last activity 2 Answers

    Friends facebook don't show up 1 Answer

    i am working with friend list with unity photon i want to show friend avatar in my game 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges