Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is user subscribed to my app?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

670 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