Facebook App Creation related questions - facebook

Good afternoon and happy new year!
I have a web site, whose URL is http://www.høly.com
The user will type something in the "type here & share" textbox and, when he clicks the Facebook logo, something will be shared to their Facebook timeline via an app.
1) I'm using Mozilla Firefox on Windows 8.1 and some users reported that Facebook sharing doesn't work on Mac OS X. It works for me though. The app is not sandboxed. I would like to know what is going on and how I can fix this.
2) Whenever someone shares my URL on Facebook (via copy-paste, not the app), I want it to have a specific image and a description. Can you please tell me how to do that?

For question 1: facebook plugins works on all browser, so there must be a javascript error in you code that prevents the execution of facebook script. 2. You can use og meta tags as described here
stackoverflow.com/questions/11616697

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.

&makeprofile=1 parameter no longer works

I made several apps that invited the user to create pictures, uploaded them to facebook and then sent them to a link on facebook that allowed them to set them as their profile picture:
https://www.facebook.com/photo.php?fbid=10152753169290428&makeprofile=1
In the last few days, facebook is just ignoring the makeprofile parameter. I just love developing for facebook, it's such a roller coaster ride.
Can anyone help? Is there an alternative?
You can redirect to the mobile URL like:
http://m.facebook.com/photo.php?fbid=[photo-id]&prof
and then it magically works.
The undocumented makeprofile=1 does still work, but the user needs to have permission to view the photo in the first place. I tested this on the following public image:
https://www.facebook.com/photo.php?fbid=10100464869430336&set=a.575724691546.2154239.60506094&type=1&makeprofile=1
Update (14 Dec 2014):
Clicking on the above link using a Desktop browser shows me the below popup on Facebook. The feature does still work (at least for me).

Facebook comments plugin broken?

How do I solve an issue where the Facebook comments plugin seems to be completely broken? Please see the screen shot.
When I am logged in to Facebook, I see what you see there. Where the plugin HTML is meant to be, it says "skin must be one of the following values: light, dark".
When I am logged out of Facebook, it is completely blank. I am seeing this error on all browsers, on multiple test computers (including various configurations on browserstack.com), on every website that I can find that uses the Facebook social comments plugin - including Facebook itself!
It looks like Facebook have dramatically changed their comments plugin code. All sites using this plugin will probably have to update their code ASAP because the old code doesn't seem to work any longer.
To get Facebook's own page working, I just had to type in "light" in the Color Scheme box.

Facebook application url and comment box

I have multiple application on Facebook suddenly I got this issue without any code change.
I have a facebook comment plugin with href of the application URL but it is not working correctly as I can't expand or see any comment, also moderate interface is not visible in some applications
My meta s are
"Sorry I had to null the data"
Any idea what is the problem, and how to fix this, I could not find anything!
Here is more screen shots
NORMAL USER
ADMIN USER

Direct link to Facebook mobile site using pageID

graph.facebook.com/cocacola will tell you that the id for the cocacola page is 40796308305.
You can get to the cocacola page using either www.facebook.com/cocacola or www.facebook.com/40796308305.
However, to get to the mobile facebook site m.facebook.com/cocacola works, m.facebook.com/40796308305 doesn't.
For reasons I won't go into I have the pageID, not the vanity url and I need to link to the mobile site.
Specifically, I'd like to link to the equivalent of m.facebook.com/cocacola?v=feed to link to the wall instead of info.
So, I either need a way to link to a mobile page using the page id or a way to make the regular www link redirect to the mobile wall instead of the info page.
You may need to create (or discover the already created) proper "name" ID and use that together with the pageID as your landing page, for example, mine works as follows:
http://m.facebook.com/pages/BCmoney-MobileTV/190267987672979
But using just my pageID it does not:
http://m.facebook.com/pages/190267987672979
In addition, you could use the Graph API to deduce the "vanity URL" as you refer to it:
http://graph.facebook.com/40796308305
Looks like this is the page you're looking for:
http://m.facebook.com/pages/Coca-Cola/40796308305
The simplest way I found to get the mobile version of any Facebook page is to go the desktop version of the page on your browser of choice and then replace the www with m and press Enter. The Facebook Mobile Web version of the page loads in your browser.
I had the same problem with a link on a website, but I don't want everyone to go to the mobile site, just those on mobile devices.
The solution was to add ?v=wall to it. It works for both desktop and mobile now. Here is what my link looks like now: https://www.facebook.com/pages/Virginia-B-Andes-Volunteer-Community-Clinic/153180528039538?v=wall