facebook integration problem in iPhone app - iphone

HI..
i want to implement facebook in my iphone game .. i want when game is over there is a facebook connect button .. using which a player can share his score on his wall in facebook .. i have follow the way which is describe in this video { http://vimeo.com/3616452
}
but i am getting session not declare error ..
so please help out

This video is rather old. They use old facebook-iphone-sdk that is still working but Facebook recommend using new iOS SDK https://github.com/facebook/facebook-ios-sdk
It's a lot easier now. You can find sample project there and adopt it to you app.
I think you getting "session not declare" error because you didn't include facebook sdk header files in your project or Xcode couldn't find it if you SDK placed in another directory.
If you show us some code and better describe your problem it will be much easier to help you.

Related

how to upload video using Facebook sdk 7.3 in unity?

I've tried building apps with Xcode and it has been a struggle, i then discovered unity and an entire world opened up to me. and then i released 3 games this year on the iOS apple store made in unity.
now I'm trying to build a game and this games main feature is to upload and view videos. let me call it what it is making an app with unity. why? because i know how to use unity, this is my tool.
so i headed to Facebook and download the latest SDK for unity and boy did it take me time to figure how it works. after weeks of struggle i found out that the Facebook SDK can not upload video, well at least not yet (i hope i can ask them if they could make it that the Facebook unity SDK can do everything that all the other sdk's can do, like their iOS sdk and android sdk).
the way i found out was when i submitted a bug report and asked a Facebook team member and they told me that it is not supported. i then went to check the references of the Facebook iOS sdk and compared it to the reference of the Facebook unity SDK and to my wonder the calls are not there.
so my question is how can i use Facebook sdk in unity the way that i want it to?
is there a method of using the Facebook iOS SDK in unity and not the Facebook unity SDK?
At the end of the day i would really like to push the app out on android as well hence why i added the android tag. so I'm sure if i can achieve it with either platform i can just do it for the other one as well.
please if anyone can share assistance it would be appreciated, I'm extremely serious to get this project completed i can't wait to share my idea with the world.
seems like I've confused myself. apparently one can do exactly what i want to do. The Facebook team member responded to my question I've included his exact reply for your convenience.

Unity3d Facebook SDK: properties on iOS don't get published

we are working on share functionality for our unity game using the Facebook Unity SDK.
We are using FB.Feed for our post and share additional links at the end of the post using the 'properties' parameter and sending a Dictionary.
This works nicely on Android and for the webplayer but nothing is shown when using the iOS version which has the exact same codebase.
This seems to be a bug since the same happens using the interactive console example.
Can anyone confirm?
Is there an official forum for the FB Unity SDK? The beta goup on facebook seems to be dead.....
Help very appreciated.
Simon
We are deprecating the properties functionality. Just so you know, for your specific use case the properties are unnecessary. We will automatically send users to the Google Play store when they click your game's link on Android and the iTunes store when they click it on iOS.

Google Plus sharing, like button from ios

I am new to iPhone apps development, I want share and like button on google plus for my application, searched in web, but i got many links were pointing to developer.google.com etc. from there i downloaded SDK, but am not able to write code for that.
Please give some example code.
Thanks in advance.
there is a post here, which describes what you plan to do...
How can I integrate Google Plus with iPhone sdk?

unable to add Facebook SDK in iphone application

I am working on an iphone application where i am uploading video to youtube i have successfuly worked around that.
Now when i try to integarte the facebook in app it is creating a problem due to SBJason.h file in both the sdk. as both the sdk have SBJason file in their SDK kit.
So i need to have any workaround you can suggest.
Thankx in advance.
You have to remove one of the SDK's SBJson.
First see which is the updated one
If you see any updated one, keep it and remove the older one.
If Both are same, so you can remove any of them, it will not effect the project (hopefully)

Using Facebook Connect SDK for my iPhone app

Okay, I am using Cocos2d for developing an Iphone game, and I wish to implement Facebook Connect.
I found a tutorial about integrating Facebook Connect in the Cocos2d forums (http://www.cocos2d-iphone.org/forum/topic/3392), but the link it provides for downloading the Facebook SDK is... broken. And I have no idea where to actually download it! Every link I find in Google seems to have been removed from Facebook's documentation. And that tutorial is a bit old... is there any updated content about such? Can someone guide me as to where should I get started? (downloading the SDK)
Facebook seems to be notoriously bad for dropping support or unlinking features. Try:
http://developers.facebook.com/docs/guides/mobile/#ios