• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by game_coder7 · Sep 11, 2016 at 04:59 PM · androidpluginfacebooksdk

App Invite not showing notification to friends in facebook

I have integrated the facebook sdk in my android unity project and also created facebook app and configured it according to the facebook docs but still after sending app invite to a friend no invite is received.

Comment
Add comment
10 |3000 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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by game_coder7 · Sep 18, 2016 at 02:04 PM

Answering my own question I had forgotten to make my facebook app live or public therefore it was not working

Comment
Add comment · Show 1 · Share
10 |3000 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
avatar image speedt4 · Nov 12, 2016 at 09:56 AM 0
Share

Hi Game_coder7, Did you use FB.AppRequest or FB.$$anonymous$$obile.AppInvite?

avatar image
0

Answer by power2k · Nov 22, 2016 at 08:48 PM

I'm having the same issue. My app is LIVE and PUBLIC on facebook, however, still no invitation seems to be sent out.

My code is: public void InviteFriends() { StartCoroutine(InviteFriendsRoutine()); }

 IEnumerator InviteFriendsRoutine() {
     if (!IsLoggined()) {
         Question.main.Ask(
                     LocalizationAssistant.main["question_invite_text"],
                     LocalizationAssistant.main["signin"],
                     LocalizationAssistant.main["cancel"]
                     );

         while (Question.main.Wait())
             yield return 0;

         switch (Question.main.GetResult()) {
             case 0: // Sign in
                 yield return StartCoroutine(Connection(true));
                 break;
             case 1: // Cancel
                 yield break;
         }
     }

     if (IsLoggined()) {
         FB.AppRequest(
             message: LocalizationAssistant.main["invite_text"],
             title: LocalizationAssistant.main["invite_title"]
         );
     }
 }

Do I miss sth here? Thanks.

Comment
Add comment · Share
10 |3000 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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Facebook integration for android 0 Answers

Assets/scripts/fbLogin.cs(60,52): error CS1501: No overload for method `API' takes `3' arguments 1 Answer

Facebook SDK login problem on Android 0 Answers

How to get a public profile permission facebook sdk 0 Answers

Facebook SDK IGraphResult is returning null values in Unity 2017.1.0f3 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges