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 8764421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:01:45+00:00 2026-06-13T16:01:45+00:00

I’m building a django app and I’m interested if there is a way to

  • 0

I’m building a django app and I’m interested if there is a way to get all the newest/popular events from facebook.

I want to get their title, location, description etc.

EDIT:

For the solution in the answer bellow to be successful i’ll need the access token. It can’t be done with the app token. Also I don’t need to search through events but retrieve them sorted by popularity.

Since i’m using django facebook for now i can get my users friends events (in which they are participating). Is there another way to retrieve them through the API?

  • 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-13T16:01:46+00:00Added an answer on June 13, 2026 at 4:01 pm

    https://developers.facebook.com/docs/reference/api/

    Look for the headline “Searching”:

    https://graph.facebook.com/search?q=conference&type=event
    

    You need an access token for it, but i guess an app access token will do:

    $app_access_token = APPID . '|' . APPSECRET;
    

    The app access token is valid as long as you don´t change the id and secret of the app (will most likely never happen).

    EDIT:

    If you take a look at the FQL table of the events, there is no field for the “popularity”:

    https://developers.facebook.com/docs/reference/fql/event/

    …so i guess you mean sorting by “most attending people”. But you wrote “all the newest/popular events from facebook”, so that means all events and not only those of the logged in user and his friends. The only way to get the events in that case is the solution i presented above.

    If you want to get the Events of the user, FQL would be the correct way, i guess:

    SELECT name,description,location,attending_count from event WHERE eid in (SELECT eid FROM event_member WHERE uid = me()) ORDER BY attending_count DESC
    

    This gives you all events of the user, sorted by the number of attending people.

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

Sidebar

Related Questions

I'm interested in microtypography issues on the web. I want a tool to fix:
We're building an app, our first using Rails 3, and we're having to build
I have a text area in my form which accepts all possible characters from
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a French site that I want to parse, but am running into

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.