Anyway to get app info into OAuth Dialog - facebook

I know this has been posted before, but I haven't seen a definitive answer only a bunch of "I thinks" or no answer. The Facebook documentation shows a much more in depth dialog box with information about the app from the developer tool. However, now I seem to only get a box asking for only the permissions.
This is going to be a page tab, so the user won't necessarily see the App Details page and I want to describe to them why I'm asking for what I'm asking for.
Answer points go to either A)How to do it, or B)Documentation showing it can't be done.
Thanks,
Andrew

Looks like the Facebook Documentation was out of date. It has since been updated.
App information will not be in the dialog box.

Related

How to add email-opt in instant article

I have search all over internet and asked the instant article team too in instant article facebook page,
but I can't find the answer the way too put email-opt in instant.
I have put <form>, <button&Gt;, <input> tag on instant article editor, it successfully saved but it's not shown in page manager apps.
I have asked to place that write article about facebook instant article, but no answer too.
I have searched at facebook instant article docs dev, but couldn't find it too.
Is there place I'm missing?
Does it need particular step like we must have facebook leads, or audience network or something first?
I would appreciate your help
Thanks
I asked this on the FB Dev forum and they said it's still being rolled out. Only select publishers have this option for the time being.
Source: Facebook Help Centre

Facebook API/Dialogue for Un-Friending people?

Preface
I'm aware a similar question has been asked before, but I believe my request is slightly different so I'm going to go for it anyway.
Existing Questions/Findings
I have read the following articles on SO already:
Unfriending someone through the Facebook API?
Any way to unfriend or delete a friend using Facebook's PHP SDK or API?
Previous queries have focussed mainly on silent/programatic un-friending of a user. I don't necessarily need it to be silent and would be quite happy to use a prompted dialogue box.
Is there anything even close to this, or some hack around I could use?
In one of the articles above, an app is mentioned Burger King 'Whopper Sacrifice' which did unfriend I believe. The reason for it being shut down appears to be the privacy invasion/publicising of the un-friending (which seems a bit harsh!) rather than the un-friending itself.
Example idea/Summary
I am looking for some way to simply (either using or not using a prompt) help the user unfriend someone.
As an example, do you think it would be possible to use some kind of call to an iframe to bring up the dialogue?
No, there's no API or Dialog for this functionality. Users can use Facebook's own interface to remove friends but not via 3rd party apps.
Side note, the user can unfriend someone from that person's timeline, if you want one of your users to unfriend someone for some reason, just link them to that timeline and give them the 'unfriend' instructions
There is only way to add user as friend (Friends Dialog) but not terminate friendship, there is no such functionality in API or SDK-s Facebook provide.

Like a Page, Newsletter Opt-In and Questions

first time Facebook developer so was hoping for some guidance. Been given a very brief spec:
Requirement is to run it where fans have to give email (so that we can
contact winners) with opt in for newsletter sign up and also must FB
like VF to be entered into prize draw. There will be options to choose
from. They choose one and can't vote more than once.
So I'm thinking about a Facebook application that sits as a tab on the facebook page. If the user hasn't "Liked" the page, they'll be encouraged to "Like" the page in order to proceed.
If it's liked, they'll have an option to opt into our newsletter. They will also be allowed to answer one question with one answer. When they submit it, they will then be entered into a competition.
If they pick the "right" option, we will send them an email telling them so.
Right - does this sound fairly straightforward? Are there any guides, examples or tutorials that could help? Am I going about it in the right way?
Many thanks in advance,
JJ
That sounds very straightforward and you are going about it in the right way.
The best tutorials and examples can probably be found in the Facebook Developers documentation and in the example files within the PHP SDK (http://github.com/facebook/php-sdk/)
To find out if the current viewing user has liked the page or not check out the signed request that Facebook passes to your app tab. It contains this and a lot more useful information http://developers.facebook.com/docs/authentication/signed_request/
What you have is pretty much how the majority of companies are pushing forward with Facebook. They are driving up the Like count by forcing users to Like the page before getting to their goodies. There are lots of examples on the internet as to how to create a page which checks if the user likes the page. As you've not stated what programming language you are going to be tackling this in, it is going to be hard to point you in the right direction.

fb-walls module for drupal

I'm learning my way around drupal a little bit by making someone a site. I'm asked to display facebook wall posts in a block.
I found this module. Now I have no clue how to get started on this.
What I do know is that in drupal>admin>configuration>facebook-wall I need to fill in an application ID of the wall and then the secret code. But I have no clue on how retrieve that. I searched here in SO and using google but all I'm lead to is the facebook developer's pages where it's talking about app creation and developer's stuff I don't understand (eventhough I know a little basic php).
I simply don't know where to start looking, so I guess all i'm asking is for a little more understandable resource to figure this out.
You would want to start here
https://developers.facebook.com/
And since your developing for a website you would want to click the website option, which brings you to here.
https://developers.facebook.com/docs/guides/web/
If you read that page, not even a quarter of the way down, you would see something about Authentication... Which in the first paragraph makes mention of your AppID, and gives you some other links to follow.
https://developers.facebook.com/docs/authentication
Which talks about how the authentication process works, and then there is
https://developers.facebook.com/apps/
Which is used to register you application, which the paragraph it is linked in mentions you need to do in order to use Facebook on your website (which is what your trying to do). Clicking on that link should be pretty self explanatory at that point as to how to get your AppID and Secret.
There you go, I have reduced the amount of reading you now need to do to a level that should be manageable....
Hope this helps.

How to be notified of comments posted via the Facebook Comments Social Plugin

I recently implemented the Facebook social plugin for comments on my blog. I assumed, incorrectly, that I would get a Facebook notification when someone posts a comment to one of my articles. I was wondering if that is a possibility.
I have read references to the use of a event.subscribe function in the javascript SDK, but I wasn't really interested in creating a javascript-based notification dingus but would rather just see the little badge in my Facebook notification window.
I'd love any insight on how others have addressed this.
Thanks in advance!
Just add yourself as moderator under Facebook developers comments tool. That's it. You'll start getting notifications of any comments on any of your blog posts.
Shorter way:
Open this url (am assuming you are signed into Facebook and is administrator of your Facebook app):
https://developers.facebook.com/tools/comments/
Click on settings
Add yourself (or any of your friend/employee) as moderator.
Lengthier way:
Click on 'Moderation Tool' on any of your blogpost's facebook comments.
You must be on Facebook developers page now. On this page, you must be seeing something like 'your app name' > 'the blogpost title' (from where you clicked moderation tool). Here click on your app name.
On this new page, click on settings.
You must be seeing a modal now. Add yourself (or any of your friend) as moderator here.
You must be getting notifications now.
For those who have been struggling to find a way to get notified when someone sends a comment on your page, here's a (sort of) solution.
Assuming you've created an app for your website, add the following meta tag to your <head>: <meta property="fb:app_id" content="YOUR_APP_ID_HERE" />
Then in Facebook Moderation Tool choose your app and click on Settings in top right corner. In settings, choose Moderation rules tab and at the bottom, you'll find an option Closed under Moderation heading. Select this option. By setting Closed option you basically have to approve all comments that are added to your site, but right now that's the only option how to get notified right in your Facebook without setting up custom listeners on comment.create event. That's also why this solution is sort of solution.
Also don't forget to add yourself as a moderator as Saurabh's answer suggests (otherwise you won't get any notification in your facebook).
Easiest way is to just check the Facebook moderation tool. You could build some kind of notification system that pulls comments using the graph api. I haven't seen any alert/notification system yet that somebody has else built but it would be pretty easy.
Unfortunately, even on the doncaprio blog, the owner has noted that
"For some reasons, notifications stopped working for some months now. I'm yet to find a fix for this... seems like an issue with fb or something."
I've come to the conclusion that I have to live with not having comment notifications.