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 sas_88 · Jan 21, 2015 at 11:52 AM · facebooksharesocial networking

Facebook share for Webplayer.

How to share images to facebook from unity webplayer.After creating the application in Facebook and downloaded the facebook Sdk imported to the project.Run the build in browser press FB.int(),the facebook dll is not loading to connect with facebook. Wether facebook SDK will work for Webplayer.

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
1

Answer by sas_88 · Mar 28, 2015 at 11:11 AM

Finally got idea of Facebook share for webplayer from the following link.

http://unity3dtrenches.blogspot.in/2014/07/unity3d-how-to-post-to-facebook-from.html

Followed the above link and successfully shared the images in facebook from unity.

 private const string FACEBOOK_APP_ID = "1234567";
 private const string FACEBOOK_URL = "http://www.facebook.com/dialog/feed";
  
 void ShareToFacebook (string linkParameter, string nameParameter, string captionParameter, string descriptionParameter, string pictureParameter, string redirectParameter)
 {
 Application.OpenURL (FACEBOOK_URL + "?app_id=" + FACEBOOK_APP_ID +
 "&link=" + WWW.EscapeURL(linkParameter) +
 "&name=" + WWW.EscapeURL(nameParameter) +
 "&caption=" + WWW.EscapeURL(captionParameter) + 
 "&description=" + WWW.EscapeURL(descriptionParameter) + 
 "&picture=" + WWW.EscapeURL(pictureParameter) + 
 "&redirect_uri=" + WWW.EscapeURL(redirectParameter));
 }
 

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
avatar image
0

Answer by EmreB24 · Jan 23, 2015 at 01:30 PM

I never shipped anything to facebook platform and never used its API but i tried to find some useful documents for you... Look at this 'Parse' link first of all, you may find it useful: https://www.parse.com/tutorials/integrating-facebook-in-unity

than here are the official documentations of Facebook related Unity & Facebook integration: https://developers.facebook.com/docs/unity?locale=tr_TR https://developers.facebook.com/docs/unity/getting-started/canvas

Also here is a tutorial of a community called 'Facebook Developers' 's tutorial about integrating Facebook into unity: https://www.youtube.com/watch?v=5g0WdYbq-dg

Hope these documentations and tutorials helps you...

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 sas_88 · Jan 23, 2015 at 04:20 PM 0
Share

thanks @EmreB24.

avatar image sas_88 · Jan 27, 2015 at 09:31 AM 0
Share

alt text

Hi guys,how can i fix this. Trying to integrate Facebook on my Webplayer game n followed the tutorial of facebook integration.After deploying my file in the HTTPS server and placed the url in my app settings canvas page shows binary url. After completing these steps launch this url.."https://apps.facebook.com/ my app name (or) App id",it works fine. Because it wont work on my game when launch the game in web payer and its like below.

Want this to work on standalone mode..

fbimg.jpg (62.9 kB)

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How do apps post on walls without the actual login flow? 3 Answers

Share screenshot of game to Facebook with title and description 0 Answers

Facebook share screenshot with link. 1 Answer

Facebook Share missing title and description 1 Answer

Social media assets 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