PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, February 21, 2022

[FIXED] Scheduling "pages" for deletion

 February 21, 2022     facebook, facebook-graph-api, facebook-php-sdk     No comments   

Issue

How do I get FB to automatically delete pages after a certain period? Possibly I am doing something terribly wrong but each of my web sites "events" corresponds to a unique url with event specific FB meta data and open graph data. The web app side auto deletes events after the actual event has passed if it has a date and period. The problem is that these pages which have been "shared" to FB continue to exist in FB. e.g consider this long term in the future "event" :-

http://shamrockirishbar.com/event?id=1997

Now when that date has passed then the event is purged from the DB but if it has been "shared" to FB then the it appears as one of my FB pages still. How do I set it up to automatically purge from FB?


Solution

I don't believe you can do this programatically. The Facebook docs for the Page object include a 'create' method but not a 'delete' one.



Answered By - ceejayoz
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing