Solved

FBConect

Posted on 2011-02-12
6
406 Views
Last Modified: 2012-05-11
Hello,

I am new with JavaScripts and APIs and I am creating a local project on my coputer in my visual studio. My ultimate goal is to create adn test Facebook Login and log out functionality.

I went to Facebook site on this URL:
http://developers.facebook.com/docs/reference/javascript/

and they have given some code block:
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
  FB.init({
    appId  : 'YOUR APP ID',
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true  // parse XFBML
  });
</script>

Here, they are talking about AppID. Well with this local project, what would be my AppID?


0
Comment
Question by:TheCommunicator
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:Badotz
ID: 34880685
Perhaps a visit to the FB documentation page(s) is in order?
0
 
LVL 8

Expert Comment

by:rationalboss
ID: 34883938
You still need an APP ID for it. :)

http://developers.facebook.com/setup/
0
 
LVL 8

Accepted Solution

by:
rationalboss earned 500 total points
ID: 34883961
... and this can help you with your problem if you're using ASP.NET. But it still discussed the processed very well so if you use a different language, it can still help you understand the process:

http://facebooksdk.com/docs/2010/10/how-to-set-up-local-development-environment-for-facebook-application-development-using-asp-net/
0
What is a Denial of Service (DoS)?

A DoS is a malicious attempt to prevent the normal operation of a computer system. You may frequently see the terms 'DDoS' (Distributed Denial of Service) and 'DoS' used interchangeably, but there are some subtle differences.

 

Author Comment

by:TheCommunicator
ID: 34883993
Well, one question while I am going through the documentation. I think it is leaning towards all the essentails towards creating an App for the Facebook environment.

What  I am trying to do here is : When  a user shares something from his site on Facebook, a new tab will open and ask user to llog on. Once user successfully logs on, the link is shared on the Facebook.

Now, I just wanted to make sure that his account is not in the Logged On and I wanted little bit control to log the user out.

Do I really need App ID for this? That tells me that in this case, every site who has facility to share something on Facebook , should have have an App ID? Even though it is not a facebook app and just a static site?
0
 
LVL 8

Assisted Solution

by:rationalboss
rationalboss earned 500 total points
ID: 34884017
0
 

Author Comment

by:TheCommunicator
ID: 34922269
Thank you so much, that was heloful:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question