How to implement customized unfurling (preview snippets) with Branch.io quick links? - branch.io

We generate quick links in our iOS app that are supposed to point to specific content within the app. When a quick link is shared via a messaging app that supports preview snippets, we want the snippet to display custom content depending on the parameters passed when our iOS app generates a link.
For example, user wants to share an audio, the app generates a link which is then posted in a messaging app or social media. We want the preview snippet to reflect specific title/subtitle and image related to that audio.
We use a custom domain name for Branch links if that matters.
What is the right way to achieve this?

You can use Link Preview for achieving this functionality. It will enable the link to display content as a preview card in Facebook, Twitter, Pinterest, iMessage, etc. This card can contain a title, description and image (that you append in the link as OG Tags such as $og_title, $og_description, and $og_image_url) .

Related

Branch.io smart banner is empty

My team released an Android app and asked for a smart banner directing users from our website to the app and specific content; to complete this task, we are using branch.io.
According to this guide, I inserted the JavaScript snippet with the branch key found in the settings section of the dashboard and the SDK is correctly initialized.
In the dashboard we defined the styling of the banner and on which sites and devices it should appear. But the banner looks like this (on desktop):
No icon or text are set. Apparently when I use the preview link generated by branch.io it is displayed correctly.
Moreover when I initialize the banner via JavaScript and set the properties it is displayed correctly too:
branch.banner(Banner.options, Banner.data);
const deeplink = `${window.location.pathname}${window.location.search}${window.location.hash}`;
branch.setBranchViewData({
'$deeplink_path': deeplink
});
Somehow nothing from the dashboard is adopted.
Thank you for your help!
Alex from Branch.io here: the branch.banner() function and the banner you set up on the dashboard are actually separate things. The dashboard option replaced the banner() approach, which has been deprecated.
You'll want to review the full details in the set up guide. One important note is that the dashboard version does not yet support banners on desktop, as we found almost none of our partners were using that function.
Try smartbanner.js. Has a lot of custom options and behaviour at very low footprint (~ 13 KB). Takes a few meta tags to set up.

How can i add a snapchat sharing button to my website. Is it possible to add Sharing button for Snapchat?

I am developing a website.I have added the many social login or sharing buttons,links like facebook,tweeter,gplus,pintrest on my php,html based website.
Now i have to add the social sharing button for snapchat.Is it possible to provide a link or button on my website to share a snap,image,content of stories in snapchat ?
I have tried to find out for any API or snapchat link or button to achive, but doesn't found any thing.
I also saw the question doesn't have any answer,reply,comments.
Is it possible to add Sharing button for Snapchat?
From the snapchat blog link following, I found that there is no API available provided by snapchat.
http://blog.snapchat.com/post/99998266095/third-party-applications-and-the-snapchat-api
Is it possible to share contents of snapchat?
That blog post is more talking about using a 3rd party app intead of the snapchat app, this is something i can never see being allowd but is also not what i think you are after.
I assume you mean that you want to be able to share a screenshot or specific image on snapchat. I have not been able to find a way of doing this, the closest thing was a 3rd party app that enabled link insertion to snapchat (http://www.gizmodo.com.au/2016/06/you-can-now-embed-links-in-snapchat-screenshots-using-emoji/)
On the other hand, if you want them to connect to you, this can be done with the url https://www.snapchat.com/add/yourUserName
hope this helps

Is it possible to add Sharing button for Snapchat? [duplicate]

I am developing a website.I have added the many social login or sharing buttons,links like facebook,tweeter,gplus,pintrest on my php,html based website.
Now i have to add the social sharing button for snapchat.Is it possible to provide a link or button on my website to share a snap,image,content of stories in snapchat ?
I have tried to find out for any API or snapchat link or button to achive, but doesn't found any thing.
I also saw the question doesn't have any answer,reply,comments.
Is it possible to add Sharing button for Snapchat?
From the snapchat blog link following, I found that there is no API available provided by snapchat.
http://blog.snapchat.com/post/99998266095/third-party-applications-and-the-snapchat-api
Is it possible to share contents of snapchat?
That blog post is more talking about using a 3rd party app intead of the snapchat app, this is something i can never see being allowd but is also not what i think you are after.
I assume you mean that you want to be able to share a screenshot or specific image on snapchat. I have not been able to find a way of doing this, the closest thing was a 3rd party app that enabled link insertion to snapchat (http://www.gizmodo.com.au/2016/06/you-can-now-embed-links-in-snapchat-screenshots-using-emoji/)
On the other hand, if you want them to connect to you, this can be done with the url https://www.snapchat.com/add/yourUserName
hope this helps

Incorrect image displayed when Gigya opens Google Plus share modal

I'm working with Gigya's Share Bar javascript api and am having an issue with google plus sharing. I have separate UserAction objects for facebook, twitter and google plus to display different text and linkbacks. I'm adding a media item (image) to the facebook and google plus actions to share that image along with the text. Facebook is sharing the correct image, however, google plus is displaying a different image. I have no idea where this image is coming from. Text and link are correct on both, but the image is frustratingly incorrect.
Has anyone encountered an issue like this? Is there something different that must be done for google plus shares?
Test your target URL with Google's structured data testing tool.
Read the snippet documentation to understand how the Google crawler determines what to use in the share preview.

Creating a image browser Boxee App

I am writing a Boxee App and I want to list all albums for a picasa account.
The problem I'm facing is that I have no idea of how to list albums and photos in the Boxee app.
The application itself should be fairly simple:
First a main screen where all your albums are listed, then when you click an album you see all your photos in a grid of say 4x5 photos
When you click a photo you go in to a view where one photo is displayed on the whole screen where back and forward lets users go back and forth in that gallery.
I have wrote a simple wrapper arround the gdata photos Python API which I was aiming to use so hopefully all the heavy lifting will be done by the gdata API.
Does anybody have some good links to example applications or tutorials to one or more of the features I want in the application?
Boxee uses an XML based approach for describing an application's interface. You'll need one XML for each screen of your application and you'll connect them together using the API.
You would build this XML screens using various controls defined by the XML API. Basically a control (a button, a list, a label, etc) is described as an XML node with attributes and child nodes. You can check a list of all the available controls here: http://developer.boxee.tv/UI_Controls
You can use the Python API to control various properties of the UI elements you coded in your XML files. For example you could fill a list with photos taken from a server, you could change the label on a button, load another screen and much more. Here are the Python API specs: http://developer.boxee.tv/Python_API
Make sure you read trough the Boxee dev pages and also remember that Boxee originated from the XBMC project so most of the documentation regarding XBMC skinning (http://wiki.xbmc.org/?title=Skinning_XBMC) also applies to Boxee.
Another thing that might help you is looking at other apps. Find an app that is somehow similar to what you want to do, find it in Boxee's app folder and peek at the code there.