Closed kacurez closed 6 years ago
ui a backend pripraveny na testovanie, okrem toho k public releasu este treba:
query
endpoint: media
fields: insights.metric(impressions,reach,engagement,saved)
chybova hlaska
Facebook api error:{"error":{"message":"Invalid parameter","type":"OAuthException","code":100,"error_data":{"blame_field_specs":[[""]]},"error_subcode":2108006,"is_transient":false,"error_user_title":"Media Posted Before Business Account Conversion","error_user_msg":"The media was posted before the most recent time that the user's account was converted to a business account from a personal account.","fbtrace_id":"BYNS8WYLLD3"}}
Facebook umoznuje extrahovat data/insights instragramu cez jeho api https://graph.facebook.com/ a vysledky vracia v ronvakej strukture takze by sa dal pouzit ex-facebook-graph-api docker image na vytvorenie komponenty
Instagram Extractor (via Facebook)
(dalej lenig-fbex
)Dokumentacia a popis postupu od fb
https://developers.facebook.com/docs/instagram-api/getting-started
User Configuration Workflow
Uzivatel pre pouzitie ig-ex urobi nasledujuce kroky:
Postup vytvorenia a nasadenia kbc komponenty Instagram Extractor (via Facebook)
Keboola Connection Instagram Extractor
na https://developers.facebook.com a:Facebook Login
s Use Strict Mode == trueInstagram API
s permissionsinstagram_basic, instagram_manage_insights
~manage_pages~keboola.ex-instagramfb
podla vzorukeboola.ex-facebook
instagram_basic, instagram_manage_insights, pages_show_list
~manage_pages~get accounts
vracala ig account id tjget me/accounts?fields=instagram_business_account
alebo sa vytvori nova akceget accounts for instagram