fb-walls module for drupal - facebook

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.

Related

collect picture from comments in facebook page status

I currently need to collect pictures-comment (someone comment by pasting a picture) from facebook page group
I have done some research and find that
1.Support for this hasn't yet been added to the Graph API and as with many of the other messaging APIs, it's currently only avaialable for testing (i.e you must be a developer of the app to use it presently)
from
View attachments in threads
2.You have to use the old php SDK until graph supports attachments
from
Posting Attachment Facebook Graph API
could any one provide some codes to me?
I need to know
Are the two approaches really works?? If yes, then... If no, I guess i will need to write/find a crawler (but it again sounds difficult as facebook group page is dynamic web)
What should I do if I want to follow 1st approach?
Should I register as developer and set up an app and...? (I have no experience in setting up facebook app and would appreciate any useful step-by-step tutorial)
If I am going the 2nd approach (php SDK), are there are tutorial as I have no idea what should I do next.
I know java, c++ and little js but facebook apis are something really new to me.
Really appreciate any help.

What's the difference between a Facebook app and a tab?

I want to add a link to my Facebook page that will open new information within my page. Not a website, but information from a scoring program my bowlers use. I'm not a programmer by any means and have no programmer on staff I am trying to teach myself these things as I go along.
First of all, I have no idea if what I want to add is called a "tab" or an "app." I can't really seem to find a good explanation as to what the difference is. They both kind of sound the same to me. I've tried to figure out how to add both and have found a lot of great websites and information on Facebook that kind of leads you through the process.
The problem is all of them seem to expect me to already know what things like, JavaScript, canvas urls, FBML, etc... and I don't. So I'm getting tripped up on the steps even as I'm trying to work my way through the steps. I guess I'm kind of looking for a page entitled something like "Facebook developing for ignorant people."
I really appreciate any help you can give me.
Please forgive my ignorance here but I have searched and searched for how to do this and just keep coming up against a wall.
What are Facebook Tabs?
The tabbed structure multiplies your possibilities. Tabs help keep Pages organized so people know where to go to get different pieces of information. The Wall tab is for dynamic content, the Info tab has static information, the
Photos tab contains photos albums and Fan photos, etc
What are Facebook Apps?
Apps on Facebook are web apps that are loaded in the context of Facebook in what we refer to as a Canvas Page.
What is a Canvas Page?
A Canvas Page is quite literally a blank canvas within Facebook on which to run your app.
Now where you may have been confused is that you have ability for your app to be used within the context of a Facebook Page via a tab. So it is a custom tab
So now to what you want
I want to add a link to my Facebook page that will open new information within my page.
You want to add a new piece of information to the page. Is it static content. If it is just the rules of the scoring program, then you can use a Tab. Previously one was able to accomplish this using a simple FBML tab. Put Facebook has phased this out.
FBML will no longer be supported as of January 1, 2012
Two quick ways to deal with your problem
Use the Info tab description to place the information
Search for apps that offer this functionality for example TabPress
The longer way (long term) would be to follow this guide and bite the bullet for learning web hosting and development
http://developers.facebook.com/docs/appsonfacebook/pagetabs/
Any more information in terms of languages, and steps depends on exactly what you would like to do. I am not really sure what you mean by showing the bowling information. For the moment I am thinking it is just static information. So all you need to know is how to use the following HTML tags
html
head
body
p

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.

Is there a decent PHP Facebook Connect example anywhere online?

I have a very simple php site that I'm wanting to add facebook connect to. I have searched to and fro to find out how to do this. Even the developer docs at facebook are apparently wrong. I see many seasoned programmers replying that the docs are outdated and some of the methods won't work.. how one should create a new solution for this part, etc...
I know that Facebook changed a lot about the way facebook connect just before 2011. Isn't there someone out there who could provide a working example on how it's done? I will give my left leg to someone that could provide an updated and working tutorial.
Thanks.
The PHP Example shows you exactly how to do this. Short, redirect to $facebook->getLoginUrl() and then call $facebook->getUser().

Integrating Facebook with Wordpress or Drupal

I just want to get some opinions before I tackle this head on. So far, I've set up a wordpress site and managed to get all post made on this site, appear on facebook on notes. However, all the plugins that do the following functionality that I require, have either been discontinued, or stopped working due to facebook changing their layout.
This is what i need:
The site can be either Drupal or Wordpress (but I'm willing to sacrifice that if there is some other app that I don't know of that can do the points to follow)
All posts made on my site, must be able to appear on Facebook as NOTES (both Drupal, Wordpress and pretty much anything with RSS feed capability can do this)
Any comments made on my site, must go to Facebook and appear there too. (this is probably NOT going to be possible, unless people end up logging in with their facebook details, which is not what I want)
Any comments made on Facebook MUST appear on my site
Point 4 is more important than point 3. I can live without point 3, but I CANT live without point 4. There are quite a few wordpress plugins that claim that they can do this, but I assure you, they don't work! They worked on the principle of scanning the page for content, and due to layout changes, it won't find the right values anymore.
Any input would be greatly appreciated!
Have you had a look at Facebook for Drupal and Facebook Connect. They seem promising.