Facebook App Coding: Friend selector formular without FBML? - facebook

Hey guys,
as far as I know are FBML Codes not working anymore on Facebook unfortunately..
So does anybody< here has an idea on how to use the friend selector formular which could be used easily via FBML code in our facebook applications??
would be great if someone could help (not only me ;) ) out!
thanks!

You may want to check out the requests dialog reference page. It looks like it may be what you need.

Do you mean the Invite Friends UI overlay? You're probably not going to find an FBML solution since Facebook are retiring it. This is how to do it using the Javascript API:
FB.ui({ method: 'apprequests', message: 'This is my message'});

Related

Images are not displaying in Facebook Share

I am using facebook sharer.php, to share a link from my site to the facebook wall. Following is the url, I am using to get this done.
https://www.facebook.com/sharer/sharer.php?s=100&p[title]=title_to_be_shared&p[url]=link_to_be_shared&p[images][0]=image_path
I am aware that sharer.php is deprecated. But I have searched a lot to implement this share feature. I found only this. But in this, the images are not rendered properly in all cases. In some cases the images are not loading while sharing.
Please help me to overcome this. Or if there is another API to get this done please let me know...
Thanks in advance!
Regards,
Raju
The sharer.php method is deprecated and no longer supported. As far as I can tell, the best replacement for sharing a page of your site is the Feed Dialog.

Facebook share URL code not working

I realize Share has been deprecated by Facebook, but this is still posted on their documentation:
https://www.facebook.com/sharer.php?u=[url to share]&t=[title of content]
However, the title won't change no matter what I do -- including adding the "og:title" meta and changing the actual title of the page.
Any suggestions on how I can make it possible for people to share my page with a suggested message? thanks.
I would encourage you to use the Facebook Javascript SDK, this will give you much more flexibility with what you share.
https://developers.facebook.com/docs/reference/dialogs/feed/

Facebook Page link to Photos?

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.

Facebook iFrame app - How to use fbml/xfbml

I'm trying to use xfbml within my facebook app (iframe) but it somehow doesn't show up.
I copied this tag into one of the pages...
<fb:share-button href="http://apps.facebook.com/example" type="box_count"></fb:share-button>
..but as i said it doesn't show up.
Any idea how that works?
Thanks in advance!
Are you loading the Facebook Connect javascript libraries? fbml is not going to render without Facebook's javascript parsing it.
Try this tutorial (its German) but there are Code-Snippets:
http://www.my-digital-home.com/2010/06/09/facebook-xfbml-leicht-gemacht/
how and where we must load the Facebook Connect javascript libraries?

Crawling a Facebook fanpage

I want to cral a facebook fanpage to get the details of all the members who are fans of that page. I there any function in the face book API which will help me. Or is ther any other way I can do this???
You might try DineJS, a programmable crawler:
http://code.google.com/p/dinejs/wiki/Samples
Scrapy is also a nice framework for writing custom crawlers.