(Hopefully) simple question: How do you configure a custom URL for your Facebook App? I know right now it works as https://apps.facebook.com/[APP_ID]/, but is it possible to make/request a URL of your choosing? For example, https://apps.facebook.com/chickenwings/
Thanks!
Yes, create a namespace in your app settings.
Related
Is there any way I can link my app to a certain url that can direct it to a certain views with specified informaion
for example : twitter https://twitter.com/naifco/status/0101010101010101?s=21 // just a fake url
will direct you to a certain tweet in the application.
I think you will solve your problem using URL Scheme, here is the Apple documentation link for that:
https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app
Hope I helped you!
I own a jQuery mobile website. There i using facebook share option with custom parameters to add title, description, image with link
Like below,
https://www.facebook.com/sharer/sharer.php?s=100&p%5Burl%5D=http%3A%2F%2Fgoogle%2F&p%5Bimages%5D%5B0%5D=https://www.google.com/images/srpr/logo3w.png&p%5Btitle%5D=My%20own%20title&p%5Bsummary%5D=My%20own%20description
But when i try the same link to mobile, it will redirect to
http://m.facebook.com/sharer.php?s=100&p%5Burl%5D=http%3A%2F%2Fgoogle%2F&p%5Bimages%5D%5B0%5D=https%3A%2F%2Fwww.google.com%2Fimages%2Fsrpr%2Flogo3w.png&p%5Btitle%5D=My+own+title&p%5Bsummary%5D=My+own+description&_rdr
which means, it will add m.facebook at the start of share url. so it wont work with custom title, desc, image & link.
Anyway to fix this? or how to force mobile web to not to go with m.facebook.com ?
You can prevent Facebook from going to the mobile site by adding a ?m2w parameter to the URL. Then, sharer.php works like usual.
e.g.
https://www.facebook.com/sharer/sharer.php?m2w&s=100.... (etc)
Looks kind of bad though, looking for a better answer.
Edit: Sharer.php has been deprecated, see Felix' answer below.
sharer.php has now been deprecated.
https://developers.facebook.com/bugs/252983554810810/
The new method is to use the share dialog:
https://developers.facebook.com/docs/sharing/reference/share-dialog
e.g.
https://www.facebook.com/dialog/share?
app_id=145634995501895
&display=popup
&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F
&redirect_uri=https://developers.facebook.com/tools/explorer
url for mobile is supported as u, and title is supported as t
http://m.facebook.com/sharer.php?u=<urlencoded url>&t=<urlencoded title>
source
Use the mobile url to fix the problem in mobile devices, Facebook will redirect to the share dialog in desktop.
http://m.facebook.com/sharer.php?u=<urlencoded url>
Here is an example:
https://careers-hangarcr.herokuapp.com/job/apply/55c277c0fb8b040300622602
I am aware of Google+, Facebook and Twitter framework in iPhone. But for my new app requirement is that user should be able to post via FB/Twitter/G+/Orkut/Flickr.
Is there any such framework for Orkut/Flickr as opposed to FB/Twitter/G+ Or, do i need to redirect user to Orkut/Flickr and placing it in UIWebView as an traditional practice in webview.
Thanks for any help in advance :).
Did you even search for this on google:
Flickr: http://www.flickr.com/groups/api/discuss/72157616815681140/
Direct link to the library: https://github.com/lukhnos/objectiveflickr
Orkut API: https://developers.google.com/orkut/
Is there a way to link to the facebook photos tab of a Page via an iFrame loaded from a custom App (tab)? If I try to link to num?sk=photos, it gives me the "Go to Facebook.com" loaded in that iframe. I pretty much want a redirect.
Is that possible? Or does FB block link-ins like that?
Let me know,
Thanks!
I've been using javascript to set window.top.location.href = url;, but after reading Igy's comment, I think I'll be switching to target = _top
I think you should check out facebook developer page.
You can use GRAPH API to access photos, photo albums, profile pictures unless any user has different privacy setting.
You might want to check out GRAPH API for that, I hope it might help you to get started.
I am a new bie and first time using Facebook in the application.
For this I am using sharekit..
And it works fine in the example...
Now I have some specific requirement...
it is like i want to make a button..whenever i click this button...it should be go to facebook
can anyone tell me what should i do here and another thing ..is it good to use sharekit for all this stuff?? or should I use any other api??
Did it!!!
This helped me a lot
iPhone/iOS - How to use "ShareKit" to post only to Facebook or only to Twitter
This days their is another great option:
UIActivityViewController.
example of use