Latest Facebook Graph API changes and image uploads - facebook

I have an Adobe AIR kiosk based (multiple users)application that requires Facebook image upload functionality. This was achievable before by forcing a logout after each image upload.
But now Facebook's latest SDK uses a Safari view for login:
https://developers.facebook.com/blog/post/2015/10/29/Facebook-Login-iOS9/
so I don't think this is possible.
Can anyone confirm this? For kiosk based(multiple-user) applications that require Facebook image uploads, what are the options now?

Related

How to launch FB app from URL (specifically the share function)

I'm looking for a way to replicate this:
https://www.facebook.com/sharer/sharer.php?u=http://www.buildfire.com
But I want to force it to use the Facebook App - I know that you can launch the FB app using this command
fb://
but have not been able to recreate the sharer function.
Any ideas? I can share in WhatsApp using
whatsapp://send?text=Check%20out%20this%20site%20http://buildfire.com/
Note: This is for mobile devices only that is why I want to force it to use the FB app
Direct deep-linking into the Facebook App, or better, into a specific section of the app (Share Dialog, User Profile etc.) using the Custom URL Scheme of the Facebook iOS app is not officially supported.
You can however add the FBSDKShareKit framework to your app and open a Share Dialog that way, see https://developers.facebook.com/docs/sharing/ios#share_dialog

Embed website as Facebook App

I'm basically trying to put all the functionality of this website: http://greenthumbweather.com/
into Facebook via the "website" platform.
I've started the app process in facebook and I entered the URL as website platform (attached image).
However, when I go to preview the "app", I just get a link to my website in the top right (attached image).
Do I have to recreate the entire functionality of the website within Facebook? Or can I just port the functionality into a Facebook app? I really would like users to be able to visit the website within Facebook, where it would grab their location information and customize my website based on their latitude/longitude.
Thanks for any help!
You can just port your website to facebook app but i think that depend on your desired output. Your website can also be ported to a canvas app.

facebook and twitter connectivity with sencha touch 2 native app android

I am creating a native app for android using sencha touch 2.2.1
I want to integrate the feature of social media sharing (Facebook and Twitter).
The idea is ,there will be list of images and few buttons under each image. When the user clicks on the share button, Facebook and Twitter icons will popup and if user click on facebook, than that particular image will get posted on users wall(if he/she is already logged in, otherwise will open facebook login window). Same will happen for Twitter.
I am able to implement this thing with sencha webapp. Becuase on the webapp, facebook is getting its fallback url and it posted the image successfully. But when I created an apk of my application then the sharing code is not working.
It is showing error - "URL not allowed.......". I think it is an issue of fallback url.
I used facebook sdk also but it did not work for me. I also tried with combination of sencha Touch and Phonegap but still the same error as mentioned above.
Please share if anybody implemented similar to this type of project.

Post to wall on Facebook: How to recognize Mobile / Desktop users?

When my app posts an image on the wall on Facebook, there is also a link posted that leads to the facebook app.
If the post is seen on a desktop, I want the link to redirect them to the flash based facebook app.
If the post is seen on IOS, I want them instead to see the download link of the same app on the App Store.
Is that possible? Any suggestions?
Trying to change the Facebook link that would either redirect to one page or the other isn't a good practice (and that even wouldn't be possible). Just let the user click on the same link wherever he is using Facebook.
So, once the user on your web page, just catch the user agent which will give you information about his browser and device or computer. Depending on this, you'll know whether he is on a desktop or mobile phone. You'll then be able to redirect the user with the appropriate URL redirection. I let you search on this side with some help:
How do I determine whether it's a mobile device with PHP?
Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the user-agent string combined with specific HTTP headers to detect the mobile environment.
For example: what is your User Agent?
Detect Mobile Browsers | Open source mobile phone detection
"know if mobile browser" on Google

How to modify url to get iphone version of facebook page?

I'm creating a facebook page for my application and I want it readable on mobile safari for iPhone, but the normal facebook pages don't show up properly (see attached image) The wall, info, discussion pages don't show up.
I know I can prepend m.facebook to a url to make it the mobile version, but what about the iphone version? touch.facebook seems to redirect to facebook login.
Facebook http://www.freeimagehosting.net/uploads/6f62d603e3.jpg
Use m.facebook.com.