I've tried fb://event/EventID#Here which attempts to open the event page in the Facebook app, but then says "Unable to load event. It may have been cancelled." Obviously I didn't cancel the event, and it isn't Private or Guest View only. Is this function simply not supported in iOS 10?
If not, what Facebook deep links are supported? I've only had success with Profiles and Pages, but this post has quite a large list that supposedly work: What are all the custom URL schemes supported by the Facebook iPhone app? (hasn't been updated for iOS 10 though)
fb://event?id=[eventID] appears to work
deeplinks are supported now, your link should be https://facebook.com/events/:eventId/
For me, #Wes answer did not work. Only seems to run with fb://event/:eventId
Maybe the API changed...
Related
I want to share an image from a website on Facebook and pass some attributes (e.g. a description) to the status update, all done by clicking on a link.
A few months ago this worked fine using the sharer.php but by now this script just accepts a URL as parameter and scrapes the target site for Open Graph meta tags. This new approach isn't very helpfull if you just want to share elements on a page instead of the whole page.
Yeah, I could create an app and use the feed dialog to achieve my goal. But I honestly don't want to walk through the tedious app validation process just to share an image with some additional info!
So, does anyone know of a way to avoid this app hassle? Perhaps some undocumented parameters for the new implementation of the sharer.php?
There's no need for app validation - as #CBroe correctly stated! So the feed dialog IS an adequate solution!
Background: I assumed an app needs validation to go live. But I just didn't set up my app properly to make it available to every Facebook user.
See the comments to gloat over my stupidity. ;)
I read a while ago that the sharer.php script was being deprecated in favour of the "like" button. I just headed over to developers.facebook.com and found an article explaining how to use the sharer.php. Does this mean it's back?
Yes the sharer.php is back and here are official examples on how to use it: https://developers.facebook.com/docs/plugins/share/
One main advantages of using the sharer.php is that you can have big images in your posts.
If you follow the guide at https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content/ and use the javascript FB.ui dialog, you will never get big images.
The only way to get big images in your post is to use the sharer.php.
Does this mean its back?
Yes, it is.
The re-introduced it together with the new native share dialogs for iOS/Android apps:
https://developers.facebook.com/blog/post/2013/07/11/four-reasons-to-upgrade-to-the-new-share-dialog-for-ios/
https://developers.facebook.com/blog/post/2013/08/20/new-tools-for-android-developers--updated-sdk--share-dialog-and-more/
Does anybody happen to know a good tutorial on placing the ‘I like it’ button into the application?
I’m especially interested in Facebook SDK 3.0 and the so-called Built-in Like button.
So far, I’ve been searching through google and stackoverflow but I haven't found anything about SDK 3.0.
Publishing a built-in like is very similar to publishing a custom Open Graph action. The best resource for learning about publishing built-in likes is Facebook's reference page:
https://developers.facebook.com/docs/opengraph/actions/builtin/likes/
Please see this post regarding likes and this post to see an alternative of adding a like button.
Ideally you could create a html iframe that links to the page. obviously this would open up the webpage to the link of the facebook like button. atm i believe that's how temple run achieve this. does the trick. They're getting many likes from users directed from the ios app temple run itself.
I have an AIR app where the user could post on his/her FB wall by using the following link style:
http://www.facebook.com/sharer.php?s=100&p[url]=http://www.someurl.com&p[images][0]=http://image.jpg&p[title]=Title&p[summary]=Summary%20Text
It was working some time ago, however it seems to have stopped working now.
I URL encode the whole query string (maybe that's the problem?), and I've tested the resulting link works outside of AIR. I also have a link for Twitter, with another query string and it works with no problems. I've seen some other people having similar problems as well, but the solutions I've seen like using javascript:window.location haven't worked. Also tried to load a custom HTML through loadString() and afterwards redirect to the desired page, with no success either.
What do you suggest? Right now I'm using navigateToUrl, but would like to avoid it.
I'm not exactly sure why this is not working for you, but I'm sorry to inform you that the facebook share button has been deprecated and is no longer supported.
You can read about it in the documentation for the Facebook Share:
The Share button has been deprecated in favor of the Like button, and
will no longer be supported. Please use the Like button whenever
possible to drive maximum traffic to your apps.
And in the documentation for the Like Button:
What happened to the old Share button?
We deprecated the Share Button when we launched the Like button,
because the Like button improves clickthrough rates by allowing users
to connect with one click, and by allowing them to see which of their
friends have already connected
Since it's not supported anymore I'd accept the behavior of it to be unpredictable and maybe it's the reason why it stopped working for you.
I'm not a flash developer and don't have any solution for that, but you should stop using the deprecated method.
Edit
My point is that since you are using a deprecated functionality, even if you manage to fix the current problem, you'll face others later on, so what's the point in spending time on finding/fixing the problem?
As for using like button in AIR, a simple google search for "adobe air facebook like" has resulted in this: Creating a Facebook Like Button in Flash Professional for Adobe AIR.
Also, when posting/sharing something through facebook, their system scraps the url (unless they have a cached version) and so the image, title, description, etc can also come from the Open Graph tags in that page.
I have a business requirement to add a Share on Facebook button to a site. There are a lot of links on the web that point to this page but that just points to the page about the like button. Considering there really isn't any talk of a Share button on that page, makes me think it's going away.
This blog post from 2009 talks about the Share button. I didn't see, when I searched, any mention about the Share button being phased out.
I'm unclear on whether I should implement this with sharer.php or whether I should tell the business that "Share" is on the way out and we should just implement "Like".
I have seen some blog posts that suggest Share is deprecated, but nothing official from Facebook.
It is not deprecated per se, but we do want developers to move the Like button.
Official word from Facebook on the sharer.php being deprecated and not supported: http://developers.facebook.com/docs/share/
The Share button has been deprecated in favor of the Like button, and will no longer be supported. Please use the Like button whenever possible to drive maximum traffic to your apps.
2014: The sharer.php has been well..undeprecated. It figures, as this method has been used on millions of sites and was still being used even when the docs were previously saying that it was deprecated. Links in the old format will use the new share button functionality:
https://developers.facebook.com/docs/plugins/share-button/
This new Share Button works with a new version of our web-based Share Dialog. When using the sharer.php method of invoking the Share Dialog, this dialog will also display the new version without any changes required.
And:
Can I use the Share Dialog without using the Share Button?
Yes, although we recommend using the Share button to offer the
simplest and most consistent experience for people using your site,
you can invoke the Share Dialog using a link:
I believe it has been deprecated in favor of an improved Like button that has similar functionality. The language can be tweaked to 'Recommend', but I found these articles when doing similar research.
http://mashable.com/2011/02/27/facebook-like-button-takes-over-share-button-functionality/
http://visiblefactors.com/blog/994-facebook-likes-meta-data-thumbnails/
Hope it helps.
I don't know of any plans to deprecate the share bookmarklet (which is sharer.php). The deprecation I think you're thinking of is the deprecation of the <fb:share> tag, an XFBML tag which basically did the same thing as <fb:like> before <fb:like> came into existence. Now, they're redundant, so I think <fb:share> is gradually being phased out.
Using the Like button is probably the right way to go in most cases, but if you don't want to make an app id and want a simple quick method, just do this:
Share on Facebook
You can replace the Share on Facebook with an image or whatever you want. Facebook docs reference: https://developers.facebook.com/docs/reference/plugins/share-links/