Closed Soare-Robert-Daniel closed 2 months ago
Plugin build for c5dd7464282d20241157b6db42c7bcbbd35b6b16 is ready :bellhop_bell:!
for testing and also mentioninig in the documentation, this might be handy https://webhook.site/
@Soare-Robert-Daniel is this ready? I've tried to test and I get this error:
[10-Jul-2024 16:56:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Rop_Webhook_Service::sign_in_url() in /Users/selul/Sites/rop/wp-content/plugins/tweet-old-post/includes/admin/class-rop-rest-api.php:877
Stack trace:
#0 /Users/selul/Sites/rop/wp-content/plugins/tweet-old-post/includes/admin/class-rop-rest-api.php(83): Rop_Rest_Api->get_service_sign_in_url(Array)
#1 /Users/selul/Sites/rop/wp-includes/rest-api/class-wp-rest-server.php(1230): Rop_Rest_Api->api(Object(WP_REST_Request))
#2 /Users/selul/Sites/rop/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/tweet-old-post...', Array, NULL)
#3 /Users/selul/Sites/rop/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))
#4 /Users/selul/Sites/rop/wp-includes/rest-api.php(428): WP_REST_Server->serve_request('/tweet-old-post...')
#5 /Users/selul/Sites/rop/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#6 /Users/selul/Sites/rop/wp-includes/class-wp-hook.php(348): in /Users/selul/Sites/rop/wp-content/plugins/tweet-old-post/includes/admin/class-rop-rest-api.php on line 877
@selul did you check it with this https://github.com/Codeinwp/tweet-old-post-pro/pull/537 ?
@Soare-Robert-Daniel yes I do and you can easily check that the file has no method sign_in_url
https://github.com/Codeinwp/tweet-old-post/blob/feat/webhooks/includes/admin/services/class-rop-webhook-service.php
Have you missed to push something?
Tested and is working great.
For future references: https://github.com/Codeinwp/tweet-old-post/pull/995
:tada: This PR is included in version 9.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Summary
Added webhooks as an option to share posts.
Screenshots
Tab view
Popup
Instant sharing
Demo
https://github.com/Codeinwp/tweet-old-post/assets/17597852/1def452d-ee95-4a42-a2c2-f0d9e5ad9b81
Testing