Solved

FBConect

Posted on 2011-02-12
6
400 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

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

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

738 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