Mind map
Facebook Messages
Map content
Facebook Messages
Load Page [ readuserinbox($q) ]
- Authenticate
- Good
- Continue to process code
- show menu (opt)
- App Security (check to see if session is set)
- set redirect URL
- Authenticate [ authenticate($q) ]
- check session again and process code
- set and/or get appaccount from $q(appaccount)
- execute common facebook code
- facebook try/catch with applicable $response set
- process response
- paginate [ if required ]
- Page 1
- syncstatus, lookup in database to see if conversation/thread already exists [ syncConversations($status)]
- unchanged
- break
- NOT unchanged
- process conversation/thread and post to database
- parse messages/comments [ parseConversations($status) ]
- Pages 2+
- set loop counter
- get nextFeed info
- syncstatus, lookup in database to see if conversation/thread already exists [ syncConversations($status)]
- NOT unchanged
- process conversation/thread and post to database
- parse messages/comments [ parseConversations($status) ]
- increment counters
- loop
- start over
- loop
- increment counters
- parse messages/comments [ parseConversations($status) ]
- process conversation/thread and post to database
- unchanged
- break
- NOT unchanged
- syncstatus, lookup in database to see if conversation/thread already exists [ syncConversations($status)]
- get nextFeed info
- set loop counter
- Pages 2+
- parse messages/comments [ parseConversations($status) ]
- process conversation/thread and post to database
- unchanged
- syncstatus, lookup in database to see if conversation/thread already exists [ syncConversations($status)]
- Page 1
- paginate [ if required ]
- process response
- facebook try/catch with applicable $response set
- execute common facebook code
- set and/or get appaccount from $q(appaccount)
- check session again and process code
- Authenticate [ authenticate($q) ]
- set redirect URL
- App Security (check to see if session is set)
- show menu (opt)
- Continue to process code
- Bad
- Redirect to Login Page
- Good
- Authenticate
Information
- Description
- Processes Processes Mind Map on Facebook Messages, created by charles malcom on 06/02/2016.
- Created by
- charles malcom
- Views
- 0
- Rating