Hi I'm able to successfully integrate iphone app with facebook framework.
But I need small change to be done.
Please see the URL "http://beanstalkcreative.com/screenshots/Facebook_|_Sample_Sampleson-20100407-122254.jpg", if you see the image in above URL, it shows "via MMA_app". I want to change this text to some other name. How can I do this?
That text is the name of your Facebook application, which you configured via the Developer page on the Facebook web site when you set up your app. One way to change it is to simply add another app via Facebook with the new name, and reconfigure your iPhone app to use the new API Key and Secret.
Related
I am using the Facebook SDK for Unity and I am unable to successfully log in with the example scenes. There is a "Find Access Token" button and when I press it, I am sent to this page:
It states: There are no apps to display here. Would you like to create a new app?
I've tried creating new apps, but it doesn't help!
The App Name and App Id need to be configured correctly on the FacebookSettings asset file. This file is in the Assets\Facebook\Resources\ folder. The default values will not work correctly for getting tokens.
You must use the App Name and App Id from the newly created app on the Facebook for Developers page.
After setting the App Name and App Id correctly, the page instead looks like this:
I'm looking for a way to replicate this:
https://www.facebook.com/sharer/sharer.php?u=http://www.buildfire.com
But I want to force it to use the Facebook App - I know that you can launch the FB app using this command
fb://
but have not been able to recreate the sharer function.
Any ideas? I can share in WhatsApp using
whatsapp://send?text=Check%20out%20this%20site%20http://buildfire.com/
Note: This is for mobile devices only that is why I want to force it to use the FB app
Direct deep-linking into the Facebook App, or better, into a specific section of the app (Share Dialog, User Profile etc.) using the Custom URL Scheme of the Facebook iOS app is not officially supported.
You can however add the FBSDKShareKit framework to your app and open a Share Dialog that way, see https://developers.facebook.com/docs/sharing/ios#share_dialog
I'm developing a 2nd version of our app for Facebook Messenger to meet their new platform integration requirements described here:
https://developers.facebook.com/docs/messenger
I'm attempting to allow both apps to share the same Facebook App ID. This page from the iOS troubleshooting docs has a section on Sharing an app ID across Apps
https://developers.facebook.com/docs/ios/troubleshooting#testsharedialog
It shows you how to add URL Scheme Suffixes to your apps so that they can both live on the same phone yet share the same Facebook App ID.
I've done this and it works successfully so that both apps can use Facebook login without stepping on each others toes. However, it seems that doing so broke my integration with FB messenger, which was previously working.
After following the instructions on the troubleshooting link above and adding the fields for the URL Scheme suffix, the videos I send to FB messenger no longer have a Reply button on them. Media inside Messenger that was sent from my app no longer contains any tappable element that takes you back to my app.
Does anyone know if there's a way to get the URL Scheme Suffix working in a way that it still works with the new Messenger Platform?
Thanks!
Heard back from Facebook directly on this. Their response:
No it doesn't. Because we will try to open the scheme without suffix. How would we know which suffix you want to open from messenger? ... So no suffixes are not supported. Just use a different app id.
I'm using the Facebook Feed Dialog to promote simple sharing on my website.
There is an option for the "picture" in the post (URL).
Is there a way i can use the existing logo in my Facebook application as the image?
For example is there a way i can programatically create a URL to my Facebook application logo? (using the application ID).
You can do this with https://graph.facebook.com/APP_ID
And then fetch the logo_url.
Edit: Just wanted to add that obviously apps in sandbox mode require access token to recognize you as admin/tester.
You can't use that logo in your feed dialog, since its saved in the facebook server. (facebook don't allow that)
The straight-forward solution is - use the image from your server.
You know the publishing apps on Facebook: "Published via ____".
I've see a few times where when you click on the app name, it goes directly to the provider's website? (For example, if I clicked on it, it would direct to www.mywebsite.com)
For the life of me, I can't figure out how they make that work. Can't find a setting in the developer app.
Any ideas?
Thanks!
This is just done via a facebook page or application. If you create the facebook application, and post content via the application, it will automatically show the "Published via ..." at the bottom.
What it does is redirect you to the application page (so FB can track the number of clicks) then it will auto redirect to the website url page specified in the application settings.
Here is a tutorial