iPhone app facebook post to wall uses random "Share" app - iphone

I'm doing a standard post to wall using iphone facebook sdk. The problem is that when I do the post, the wall post links to a generic app called "Share" instead of my app.
This is the app it is linking to
https://www.facebook.com/apps/application.php?id=206749070441
I'm providing my app key/secret to the SDK so I don't see why it is doing this. Thanks for your help!

That is most likely what you provided for your app's name when you created your key/secret.
To edit it, after you have logged in to Facebook goto: https://developers.facebook.com/apps
You should see a list of your apps, and can edit them there...

Related

Misconfigured: App Sorry, That Helps hasn't been approved for display in App Center

I have a simple Facebook App that I use to allow users of my website to login with Facebook. Recently I added a basic custom story via the open graph API, e.g.
Nick plays a mixtape via anexample.com
The custom story appears in my stream as expected, however when I click the anexample.com link on the story I get the following error and cannot access the actual Facebook App page:
Sorry, the details for anexample.com cannot be displayed because the app is
misconfigured.
What is strange, is that the application redirects at
https://www.facebook.com/games/?app_id=AN_APPLICATION_ID
despite the fact that the app is not registered as a game.
Has anyone else faced this behaviour?
Thanks,
On tapping on the App link, you could navigate it in one of the two possible ways
Any FB page: Add the page in Advanced settings of your App.
A website: Add a web platform

Facebook Integration in IOS

i am using FBConnect in my project for integration of Facebook.but now i saw in all apps,when the user tap the Facebook button,it goes directly to the FaceBook App in the device to open for login.i think this is done with URLschema to communicate the App to App in a device.but how can we o this in case of Facebook.
My need is ,i have a sharing option in my app to Facebook,so when the user tap the button it needs to open the Facebook app in the device for login,and after successful login it needs to come back to my app also.how to o this?.is there any sample project or apps to do this.
Thanks in advance.
Look for the FBSessionDelegate. You provide the delegate which gets callbacks when the FB login completes (successfully or not). Also the FBConnect code, see git://github.com/facebook/facebook-ios-sdk.git, has a sample directory with a Hackbook Xcode project. That should get you started!
Here is the Facebook iOS Tutorial (which uses FBConnect).
You can use the Graph API(Uses OAuth 201 authentication protocol) instead of FBConnect , which is newer and a lot easier.You can implement it inthe following steps:-
1>Get unique id and api key from facebook's develooper portal.
2>Display the login page of the facebook in your app.
3>Allow the user to loginthrough following URL
https://graph.facebook.com/oauth/authorize?
client_id=[API key]&
redirect_uri=http://www.facebook.com/connect/login_success.html&
scope=[extended permissions]&
type=user_agent&
display=touch
you can implement the FBLoginView in UIWebView and present it.The code is be large so i am giving a link to Ray Wendelich's Facebook Graph API

How to link your facebook feed dialog news feed to your app in itunes app store? - iphone

I am using the facebook feed dialogs as mentioned here:
https://developers.facebook.com/docs/reference/dialogs/feed/
to post a newsfeed on the users wall. There are 2 problems though:
The link to my app is not coming up, so It says via Cool Social App , but without any hyperlinks.
How do I make it show the hyper link?
Secondly, I would like the hyperlink to navigate to my itunes app store link where all the information about the iOS app is available, and the user can download if interested.
Is it possible to do the above? Thanks in advance for any help!!!!
While setting the params for the feed dialog, make sure you include the following.
[params setValue: #"url_link_to_app_store" forKey: #"link"];
I resolved this by giving app url, canvas url etc in the facebook app settings. This redirects the users to the url which is a custom website, where I gave the info about the app and the itunes link. Hope that helps anybody who wants to do the same.
To have it load your app in the iTunes store, you need to fill out the sections called "native iOS app" in the Facebook app configuration page.

Open IOS Application which uses sharekit via fbconnect and/or sharekit from facebook app or facebook website

Does anyone of you know if it is possible to open a App which uses sharekit from a Facebook request by clicking on the request either in the facebook app, or in the browser?
I could not find anything about this in the web.
To be more precise i want my app which uses sharekit to send a request to a facebook-friend. This facebook friend should then be able to open the same app by clicking on the request either in the facebook app on his mobile device or by clicking on the request on the facebook browser page which is opened on his mobile device.
I already know how to share things in facebook via sharekit, but to get it "the other way round" seems to be difficult. I could not find anything helpful in the web so far.
Greets and many thanks in advance,
Maverick1st
Yes. Your will will need to register itself as a protocol handler, and the link clicked on from Facebook app would need to use the url scheme you define.
Example:
my-social-app://invite/1234
Keep in mind if the recipient does not have the app installed, or they do this on their desktop machine, they will get a message that the phone is unable to open that URL.
See this tutorial: http://mobileorchard.com/apple-approved-iphone-inter-process-communication/

iphone integrate facebook

i want to post any photo on to the facebook wall .so through iphone i want to develop such application please help me
you can use graph API for post image on facebook.
see this link:
http://developers.facebook.com/docs/reference/api/
Grab the latest Facebook iOS SDK, there you should find all of the posting examples to get you started. You will need to register an app on Facebook and get an Application Secret code to include in your app to test properly.