How to use IDN domain with swedish åäö when sharing on Facebook? - facebook

I have a IDN domain "återvinnmera.se" and when I try to share the link i a post on Facebook, it fetches the image, title, description etc as it should, but the address that is shown is "xn--tervinnmera-w8a.se".
So my question is if there is anything I can do to make it show "återvinnmera.se" and not the IDN version? I have search a lot, but I can´t find a solution for it.
Since IDN domains have worked for so many years now, I though that Facebook would support and understand it by now?
Any input really appreciated, thanks.

Related

Posting text and image to my Facebook 'wall' from Codenameone app

What I am trying to do from my Codenameone app, in Eclipse, is to send a piece of Text and an Image to my Facebook wall. Simple (or is it). Can anyone explain to me how to achieve this in Java (in a CN1 app) please?
I am not wanting the user to login to facebook in my app. Instead, to achieve this in the same way that many mainstream apps do this (eg. BBC News app) where they use the Facebook app, that is already installed on the device, in the list of destinations to Share to, which resolves the FaceBook connection issue. If the user doesn't have FB app installed then I will not make this available to them.
I have read articles online but they are a number of years old (post out of date) or make use of tokens (for which I have little knowledge how to implement).
Assuming the above is possible then any information on formatting the destination post would be a real plus.
Many thanks in advance.
Answered by #WizKid, #Diamond, #Shai Almog.
I have put a ShareButton component on my screen allowing the user share with FB, Twitter etc.
ShareButton sb = new ShareButton();
sb.setUIID("Label");
sb.getAllStyles().setAlignment(Component.TOP);
String imageFile = FileSystemStorage.getInstance().getAppHomePath() + getMyFileName();
sb.setImageToShare(imageFile, "image/png");
sb.setTextToShare("My Text to share");
This works nicely, although its doesn't put the text from my setTextToShare() into FB but does Twitter and Email. Strange. Photo goes up and it does allow me to type my own text in.

Remove website name from Facebook share

I've thoroughly looked for this everywhere but I've not found a solution. Forgive me if I wasn't thorough enough and that there is a post like this before.
Anyway, here's my issue:
I'm trying to remove my website name 'Posts For You' from the sharing name when I share a post from my website to Facebook. See the image below, whatever is in the red box, I want it not to be there by default. I want every post to be shared with just the post title and not including the website name before the title.
Please see this image. - This is what I want removed by default.

Is it possible to know who liked my website page/post?

I want to know who are the people who liked my websites page/post. (I'm talking about like buttons inside websites and not on a simple facebook page, just to make this issue clear).
I googled this issue, and most of the answers were that I just cant do something like this, but found one answer of someone who said that I can use this: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/v2.0
to find out who liked my website page/post, But he didn't explain.
I'm not an expert, but if that's true and I can pull out the names of the users that liked my website page/post, they should first accept that their private info is being passed to an outer source.
Anyway, I didn't understand anything from the page and how this thing should help me solve the problem.
Thanks for the help and your time :)
That's not possible IMHO. The events do not Return any user data, as described in the docs.
But if you're using the JS SDK and have authenticated Users on your website, you could use the "edge.created" event in conjunction with the Element ID of the like button to find out the user liked the page/post.

Posting with facebook api a message containing friend's names as links

I want to do a simple thing yet it seems none of the FB api options (Graph/others) seem to be able to solve it.
Say "Johny Brown" is my friend and I want to include his name in a wall post. What I can do is type #Johny Brown then facebook shows a nice dropdown from which I can select his name.
However the same behavior cannot be mimicked using Facebook API.
Any tips will be greatly appreciated. I tried "#" before name, using full url, using "Name" etc. None of them work.
yup you're correct. in the new graph api facebook simply removed this feature (possibly due to too much spamming).

meta information not being picked up by facebook

I've asked this question on the facebook and ping.fm developer forums, but they don't seem to be very busy at the moment. So lets see what you lot can do...
I have included meta tags for title, description and image_src on my site so facebook can pick this information up and display it on users's posts on facebook. I am using ping.fm to make the post to facebook. The meta data appears to work fine on a 'pages' page on facebook, but on individual user's walls it doesn't show any of the meta data in the post.
Any ideas why this is?
I'm not really a facebook developer, but would like this to work so if there is something that I need to do let me know.
The link that is being posted to facebook is a ping.fm tinyurl, but as I said it works on 'pages'.
Not sure how you're sharing/posting this on Facebook, but maybe the URL Linter will help? Maybe you can share the URL for the page in question.
I found that it was actually a ping.fm setting in the users account which was preventing this.