Is it possible to share and see a link using ShareKit in iOS(need the exact way as Web) - iphone

I have an app and I am using ShareKit for sharing in Facebook. I am able to share URLs, images and texts to FB using that. But why did the link/url share do not work the same way as when I share a url from Web Facebook. I have got many contents like image in my url and while doing the Share through web I am able to see the image and a small portion of content, but while I am doing it from iPhone using ShareKit, it just gives the heading/title and we need to click on that link(no images or contents).
If anyone know the solution, please help.

When you share a link on the Facebook site it will automatically fetch the URL and display some appropriate images that you can choose from. However, when directly interacting with the API this won't happen. You must provide the image yourself (or Facebook may use the image associated with your application). ShareKit may abstract this away from you, so you might want to look into using the Facebook SDK and Graph APIs directly.

I fixed the issue. Instead of posting(POST) the attachment dialog, just use GET method in the load function and pass the link you want to share. :)

Related

Windows 10 UAP: Share data on Facebook

Is it possible to correctly share data on Facebook post using DataRequest and DataTransferManager classes?
I am trying to create a Facebook post using DataTransferManager.DataRequested and DataTransferManager.TargetApplicationChosen handlers.
I have Facebook web page and I am providing link to it by calling dataRequest.Data.SetWebLink(facebookWebpageUri) in my DataTransferManager.TargetApplicationChosen handlers when chosen app is "facebook".
The problem is that Facebook should scrap the webpage for the data it shows in the post as it does in my Android and iOS apps but in my Windows 10 UAP it does not do this. It only shows the title and the text set by dataRequest.Data.SetText if I provide it before invoking share using DataTransferManager.ShowShareUI()
There are two type of app for sharing Interaction: one is source app, the other one is target app.
As a share source(UWP) app, we handle the source data, for your scenario, the facebook is the share target.
What we can do is dealing with the data you want to share, which we have done already. As the target app, facebook need to be able to resolve this source data, this work can not be done by the source app.
What you can try to do is:
Contact with the facebook to submit a suggestion.
Use the web api of facebook.
Try to find and use some third-party libraries of WinRT.

Facebook share only image

I am developing a website where users have the possibility to generate image. I want them to be able to share this image to facebook directly on my page using share button. Not as an article, but as an actual image. Is this possible?
Additionally, as a bonus, is it possible to prompt them option to create a seperate album for it? Since they may share tens and more of these images, it would be good if they wouldb be located on a seperate album or something, so they wont bury other images.
If it is a website, generally you share the webpage/article. There are many types in the opengraph format including ones for video and music. You should read the documentation. If you want the image to uploaded to a user's picture section, I'm not sure that is possible, I think you can only put stuff on a user's timeline. You should have also searched first as there is a stackoverflow question about this already.

Opening Another Application From My App

this is my first question on the site so if i don't cover anything please let me know and i'll try and fix it :P
I'm trying to make my application load another app from inside the app. An example which i can use to make what I'm trying to do more clear is, I want to load FaceBook from my application without it loading a UIWebView. I would like to do this for Facebook, YouTube, Twitter & Instagram. Also if possible all going to specific areas on the site, so the Facebook profile, YouTube channel, Twitter Page & Instagram profile!
Also I know i would have to write an if statement for it to be, if the user has set application on their device then load in that application else if they don't then load in the web view
You want to use the URL schemes of the other apps. If you know the URL scheme of an app then you can use openUrl: to send a message to another application and bring it to the foreground.
After a quick search you can find some popular app url schemes here along with some examples.
You need to use URL Schemes, this wiki has the major ones listed
http://wiki.akosma.com/IPhone_URL_Schemes

Use Facebook to share albums/pictures with a page

I don't know if it's already possible but I am trying to implement a "sharing system" on my site. Basically I have a blog and I want to add a section where people can share one picture or one entire album so it can be visible on the site itself.
Since I don't want to re-invent the wheel, I would love to do that via Facebook. I already have a Facebook Page for my site, so it would be really interesting if users could directly share the photos they already uploaded via Facebook with my existing page. I thought about using "tags" but it's too limited for what I wanted to do.
Anyone can help ?
Facebook didn't allowed to use the feature of shared albums (https://www.facebook.com/help/151724461692727/) in SDK, so you need to find an alternative.

Generate a Facebook share box for my app

Is there an easy way to generate the Facebook share box for my own app (see image below for what I mean)?
Users of my app will be able to share many of the same things that the this current box allows and wondered if the Facebook api can just generate it or do I would have to style the whole thing from scratch?
The closest thing available for you to use is: https://developers.facebook.com/docs/reference/dialogs/feed/ But that doesn't have all the cool options of Status/Photo/Link/Video/Question/Security. You will have to build your own form to collect that information and then HTTP post it to the appropriate graph object.