Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 subbuunity · Mar 18, 2014 at 08:00 AM · facebookfacebook like

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

Hi this Subbu.i am developing one Racing game.For this game i am planning to integrate who are Like my facebook like page i have to give some reward.Can able to get using Unity facebook sdk.I am checked lot of forums.But no chance.some one says Using FQL we can able to get it.Can any one help me out. Thanks in Advance.

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 hudixt · May 26, 2015 at 04:47 AM 0
Share

Just use facebook graph api as suggested by @Hari$$anonymous$$rishnan. Also please select the correct answer to close off this question

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by HariKrishnan · Mar 18, 2014 at 09:01 AM

first Login in facebook. then stored the name in one variable.

after Application.openurl("");using to like the page. next graph api using to check, user have liked the page or not with using the page id.

Comment
Add comment · Show 2 · 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 subbuunity · Mar 19, 2014 at 05:39 AM 0
Share

Hi Hari$$anonymous$$rishnan, "next graph api using to check, user have liked the page or not with using the page id.", can you explain more.How to use graph api.

avatar image HariKrishnan · Mar 20, 2014 at 04:57 AM 0
Share

first u add a facebook plugin in ur app. then u try this FB.API("me/liked",httprequest,callback); next callback function using to check your liked page is availed or not.

in Graph API Explorer can you choose get method after [me/likes?fields=id]

so much id is there now liked page id is always in the list. next you will check that page is Liked or not

avatar image
0

Answer by Slim_Gabsi · Mar 19, 2019 at 12:03 PM

you need to add "user_likes" permission and then try this

 FB.API("/me/likes/{your page id}&access_token="+FB.AccessToken,Facebook.HttpMethod.POST, LikeCallback, FBData);
 
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

Getting user name Facebook 4 Answers

Facebook Post to wall FB.Feed issue in Unity Facebook SDK 1 Answer

Posting to Facebook wall using HttpMethod.POST unity3D 0 Answers

Facebook SDK restarts app 1 Answer

Facebook SDK: Could not get data from access token: Object reference not set to an instance of an object 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