{"action":"created","issue":{"url":"https://api.github.com/repos/zaus/forms-3rdparty-integration/issues/62","repository_url":"https://api.github.com/repos/zaus/forms-3rdparty-integration","labels_url":"https://api.github.com/repos/zaus/forms-3rdparty-integration/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/zaus/forms-3rdparty-integration/issues/62/comments","events_url":"https://api.github.com/repos/zaus/forms-3rdparty-integration/issues/62/events","html_url":"https://github.com/zaus/forms-3rdparty-integration/issues/62","id":140549661,"number":62,"title":"API","user":{"login":"kodeine","id":8620059,"avatar_url":"https://avatars.githubusercontent.com/u/8620059?v=3","gravatar_id":"","url":"https://api.github.com/users/kodeine","html_url":"https://github.com/kodeine","followers_url":"https://api.github.com/users/kodeine/followers","following_url":"https://api.github.com/users/kodeine/following{/other_user}","gists_url":"https://api.github.com/users/kodeine/gists{/gist_id}","starred_url":"https://api.github.com/users/kodeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kodeine/subscriptions","organizations_url":"https://api.github.com/users/kodeine/orgs","repos_url":"https://api.github.com/users/kodeine/repos","events_url":"https://api.github.com/users/kodeine/events{/privacy}","received_events_url":"https://api.github.com/users/kodeine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T01:03:26Z","updated_at":"2016-05-23T19:07:32Z","closed_at":null,"body":"Hello,\r\nIs it possible to get if service is being used for a form by ```GFAPI::get_entry($entry_id)``` maybe we can store the attached services in meta this way its easier to re-run the 3rd-party call dynamically.\r\n\r\nFor example, im using gravityview for form edits. But edits/deletions should run service again so 3rd party knows there's an update or deletion to the entry.\r\n\r\nIf there's a better way to handle this please let me know.\r\n\r\nAlso, how can i actually re-run the service?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/zaus/forms-3rdparty-integration/issues/comments/221065405","html_url":"https://github.com/zaus/forms-3rdparty-integration/issues/62#issuecomment-221065405","issue_url":"https://api.github.com/repos/zaus/forms-3rdparty-integration/issues/62","id":221065405,"user":{"login":"zaus","id":784367,"avatar_url":"https://avatars.githubusercontent.com/u/784367?v=3","gravatar_id":"","url":"https://api.github.com/users/zaus","html_url":"https://github.com/zaus","followers_url":"https://api.github.com/users/zaus/followers","following_url":"https://api.github.com/users/zaus/following{/other_user}","gists_url":"https://api.github.com/users/zaus/gists{/gist_id}","starred_url":"https://api.github.com/users/zaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaus/subscriptions","organizations_url":"https://api.github.com/users/zaus/orgs","repos_url":"https://api.github.com/users/zaus/repos","events_url":"https://api.github.com/users/zaus/events{/privacy}","received_events_url":"https://api.github.com/users/zaus/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T19:07:32Z","updated_at":"2016-05-23T19:07:32Z","body":"Someone asked this question on the WP forums (you, probably?).\r\n\r\nThe important part is to attach my plugin's functionality to a \"form\", similar to how Gravity Forms is already attached: https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/gravityforms.php\r\n\r\nYou can write a class extending `Forms3rdpartyIntegration_FPLUGIN` similar to the above, but declaring the GF edit hook via `BEFORE_SEND_FILTER`.\r\n\r\nI could make this a little easier by [allowing an array](https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/fplugin_base.php#L122) and adding some plugin-specific filters just in case the `$form` differs."}}
{"actor":{"display_login":"zaus"}}