Solved

Is user subscribed to my app?

Posted on 2010-11-19
2
324 Views
Last Modified: 2012-05-10
Hi all,

I'm working on a facebook app and I know how to add a subscribe button but what I need to know is how do I check (in code) if
the user is acually subscribed to me application?

Hope someone can help

thank
0
Comment
Question by:error77
2 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 34178017
I'm not conversant in Facebook Apps, but the general design pattern is to require some kind of registration and login authentication.  Then you can cookie the browser to remember the client for as long as you want.  Your code can "remember" a returning client from the cookie, and can re-authenticate whenever you need to make an important change to the data model (or use money) by just asking for the password.

Some examples here:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html

HTH.  Leave the Q open a little while and maybe some others can weigh in with FB-specific suggestions,
0
 

Author Comment

by:error77
ID: 34186125
Interesting Article.

I was really looking for something Facebook API specific if possible though...
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP and Soap 3 30
compressing images after upload 4 31
Codiing Non-Existent Links 4 30
LOAD DATA LOCAL INFILE problem 11 22
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now