Solved

Is user subscribed to my app?

Posted on 2010-11-19
2
330 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 110

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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 …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

630 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