Facebook Share Dialog Issue iOS and Android [duplicate] - android

I am using feed method for posting into my facebook wall from my website using asp.net and jquery/javascript initially it works fine but suddenly in the link at the end added fb_ref=Default I don't know why it happened I want to remove that please help me. I need answer as soon as possible kindly help me. Thanks.

You can resolve this issue via using .htacess by adding this above your current rules will remove everything starting from the &fb_action.
RewriteRule ^(.*?)&fb_action /$1 [L,R=301]
But this is work around and the correct way is using Share Dialog rather that Feed Dialog.
The main different between Feed Dialog vs Share Dialog
as you can see
https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.0
https://developers.facebook.com/docs/sharing/reference/share-dialog
Feed Dialog:
You can add the Feed Dialog to your app so people can publish individual stories to their timeline. This includes captions that your app manages and a personal comment from the person sharing the content.
Share Dialog
The Share dialog prompts a person to publish an individual story or an Open Graph story to their timeline. This does not require Facebook Login or any extended permissions, so it is the easiest way to enable sharing on web.
So in you have to use:
Feed Dialog ==> for Pages you developed so you can change htaccess
Share Dialog ==> for Pages you can not change it's code

Related

Android Gdx: Sharing Content on Facebook

Coding in Gdx is a bit challenging, I have developed an android game in gdx. Everything went smoothly except for the part of sharing content on Facebook, I really got stuck and I don't really know how to do it. I want to share the score and a link.
if anyone has an experience on this please help.
This is nothing else than showing the Android share dialog. You can see an example on how to implement platform specific code in the libGDX wiki page, and see the Android documentation on how to show the share dialog.

Link for launching and adding to Evernote app

I want to add a button to my site so that when a user clicks it, it opens a new note on the Evernote app and saves a specific message.
I've looked everywhere for this but didn't find any info about it.
Is this possible?
Edit:
I'm sorry the question isn't very specific but I'm not really sure on where to start.
So, what I was asking was is there was a way to create a link with an href that would open in the Evernote app. So:
Is it possible to add an href that will open on the Whatsapp app? (I've seen that something like evernote:// should do it, but how's the syntax of this and does this work in both iOS and Android?)
Is there code in Javascript that would do the requested? (opening the Evernote app with a text that I would choose).
Once again, thanks for the help!

Sharing Image with Text Story on Facebook Using Facebook SDK 4.1

I have been struggling with this problem for some time now, I want to simply share a photo with description to facebook using facebook sdk4.1. I can share a photo easily using SharePhotoContent object.
but it doesn't add description to the photo, so I searched for solutions and it seems that Open graph stories are one solution but it requires much work than this requirement deserve.
Although I tried to find a way to use Open Graph Stories but it requires an action for the story and the available ones doesn't go with my app, so I tried to search for a way to create custom actions but I couldn't.
So please help me with another solution for using open graph stories or provide any tutorial link.
You can Publish Story with Share Dialog through this and also read how Sharing Open Graph Stories from here hope it work for you.
To create and configure custom actions and custom objects for stories try this and this.
Best of Luck.

How to make my android app display a specific facebook post

I am working on multi users android app and I was wondering if there any method to display a specific facebook post inside the app and when the users click on the post he'll be directed to the facebook app then he can "like or share .. that post" and go back to my app
I've been searching a couple of week for method to do that but I can't find any method to do it. If you know any method to do it please tell me.
Looking for the same answer myself.
Ended up in sending the link of the post to my app, along with the post-text and image if any. Display the post and image according to you will and redirect the user to the link on click on either the image or the text. If the Facebook app is installed on the device, it will automatically ask you if you need to go to the app. You can design the app to show the image and text one below another to achieve the (near fb) style you need.
This is just a workaround to achieve the feature. I could not find a solution to achieve embedding post in android, the way it can be achieved on the web

Posting to Facebook wall with customize settings on Android using Facebook api

Cardio Trainer Example Image Link
I'm trying to post on wall with some custom settings as Example image via "Cardio Trainer" android api. This is an automatically sharing process without facebook feed dialog. But I've three main problems.
I want my post not sharable as in example photo. I couldnt find any approach.
I couldn't embeded link in description part (in photo=>"Calorific diet tracker. Try it!").
On the top of the example image, the text will be ended "Cardio Trainer ile". But mine continue "shared a link"
The image you posted is a story generated by an Open Graph share, and not a regular /me/feed post. If you want something similar, you will need to create some Open Graph actions and objects for your app.

Categories

Resources