Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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
0
Question by vijay.bhuva · Jan 09, 2014 at 06:07 AM · facebooksend messagesending object

how can i send challenge to my Facebook friends from my app.?

i wan to send challenges from application running in my device to the same application running in my Facebook friend's device. is it possible in unity..?

Comment
Add comment · Show 1
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 saddam751 · Jan 22, 2015 at 12:41 PM 0
Share

I am using latest version of facebook SD$$anonymous$$ (6.1) and Unity3D (4.6.1). In facebook SD$$anonymous$$ i am opening Scene InteractiveConsole which is provided by facebook in Example Folder. On opening this scene,there is a button Open Friend Selector to send requests to facebook friends in form of notifications. When i press send notification icon,console shows that notification is sent but there is nothing like that.Notification is never received at other end.

is there is any way to fix this?

Is there any way to get ONLINE FRIENDS only.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Amaresh · Jul 17, 2014 at 10:21 PM

Hey @Vijay Maybe this Video is what you need.

Complete Explanation

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 Kiwasi · Jul 17, 2014 at 11:12 PM 0
Share

The docs aren't that great for the FaceBook API, but its slightly easier then doing it yourself.

avatar image
0

Answer by smallbit · Jul 18, 2014 at 02:07 AM

Facebook SDK for unity does not allow the direct communication between users applications. The only thing that resembles what you are looking for and is send from the client is AppRequest (shows notification in Facebook app page) i.e.

  FB.AppRequest(
                 to: null,
                 filters: "",
                 excludeIds: null,
                 message: "run you fools !!!",
                 title: "This is the best game ever!",
                 callback: appRequestCallback
                 );

You can also send it to specific friend. The direct notifications to friends/other users using your app are only working on the web fb builds (and are not even mentioned in reference for Unity (just for Android sdk)) :

Currently, only apps on Facebook.com can use App Notifications. Notifications are only surfaced on the desktop version of Facebook.com.

read more at FB Notification reference and UNITY FB SDK DOC

You maybe could do some trickery mixing Facebook app and some other network communication. For instance Facebook allows you to get friends list, as well as the logged user id, using external communication plugin (cannot think of any by now) you compare the ids, if the remote user id matches any from your friend list you send notification using external communication. Just a theory this way would be to costly, also I am pretty sure you cannot use Facebook data to other things that using FB SDK...

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.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Using Unity3d Facebook SDk can we able to get user liked or not? 2 Answers

How to make a Strategy Game? 2 Answers

Server as to be on the same scene as the client 0 Answers

About untity send messages with android? 0 Answers

Sending Player to other Script 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges