Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is user subscribed to my app?

Posted on 2010-11-19
2
Medium Priority
?
332 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 111

Accepted Solution

by:
Ray Paseur earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This article discusses how to implement server side field validation and display customized error messages to the client.
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 create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

971 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