Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7778677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:27:27+00:00 2026-06-01T18:27:27+00:00

i need to make an app that sends an email to the user on

  • 0

i need to make an app that sends an email to the user on the user’s friend’s birthday..

i’m thinking about having an app that saves on DB the whole list of friend’s bday for each registered user and then have a cron job running on server each day that check for birthdays and send emails to each user that have 1 or more friend on that birthday event.

..or having just the cron job that retrieve the list of friend’s bday before sending the emails..

btw.. how to retrieve this bday list for each user?.. does open graph be any help?

..also, do you think there’s a better solution than the cronjob?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:27:28+00:00Added an answer on June 1, 2026 at 6:27 pm

    It’s simple enough, the User object in the graph API has a birthday attribute, you just need to make sure you request the friends_birthday permission in the auth process. It’s an extended permission which the user can probably opt out of, so you’ll need some additional checks after the auth to make sure they allowed it with tha permission.

    My guess is that you’d need to do the birthday stuff in two steps, 1) get the friend list, 2) iterate through fetching birthdays (you could probably do this better with FQL and select multiple friends’ birthdays at once).

    I would abstract the graph api stuff so it happens in workers on the server (take a look at Beanstalkd). You could also use Beanstalkd to handle sending emails as workers, but use Cron to queue them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We need to make changes to an app that will cause all its URLS
I am trying to make a Facebook app and need user id from Facebook
I need to make simple CRUD web app (i'll get paid for it), but
I need to make a local copy of a database in a .NET app
I'm in the processes of internationalizing an iPhone app - I need to make
I want to make a iPhone app but I need to now how you
I'm trying to make my first app for Microsoft Surface. I need to use
I need to make a div layer so that when you click on it
I have an Android app that saves a text file directly onto the phone,
I would like to make an app on android which sends MIDI messages over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.