Need advice on rendering and placing Twitter embeds.

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

Viewing 3 reply threads
  • Author
    Posts
    • #4580


      NBERIOZKIN0616
      Participant
      Post count: 13

      Hi Szabi/support team,

      Was hoping you could point me in the right direction. I would like to scrape/render Twitter embeds from news posts and also if possible change where they appear in the post.

      Here are two example pages:

      https://dailycaller.com/2022/02/07/arizona-attorney-general-mark-brnovich-invasion-southern-border/

      https://dailycaller.com/2022/02/07/virginia-supreme-court-rejects-challenge-youngkin-executive-order-mask-mandate-schools/

      I think that perhaps this is exactly what the Headless Browser API is for? If that’s the case, I will be happy to purchase. I’m just wondering if the combination of the two plugins will also allow me to take the 1st found Twitter embed and stick it to the top of the generated content?

      I imagine it might look something like:

      %%item_title%%

      %%Twitter_element01%%

      %%item_content%%<br/>%%item_read_more_button%%

      Is this type of functionality possible with the two, or is there some other workflow/methodology you can suggest?

      If this has already been covered in documentation/threads or there is a specific video I can check, please let me know.

      Thank you kindly.

    • #4581


      Szabi – CodeRevolution
      Keymaster
      Post count: 4574

      Hello,

      First of all, thank you for your purchase.

      Scraping Twitter embeds is relatively easy and it is possible using the out-of-the-box method available in the plugin (you will not need HeadlessBrowserAPI for this).

      All you need to do, is specify exactly in plugin settings from where should the plugin extract content from the source pages. In case of the pages you linked above, please set the following settings fields in importing rule settings in the plugin:

      Try to Get Full Article Content:
      checked

      Content Scraping Method To Use:
      WordPress (Default)

      Full Content Query Type:
      ID

      HTML Search Query String:
      ob-read-more-selector

      Also, please note that the Twitter embeds cannot be places above posts, they will be scraped and placed to the exact same location where it was in the initial post. Moving it to the top of the post is currently not possible.

      Let me know if this helped.

      Regards, Szabi – CodeRevolution.

    • #4582


      NBERIOZKIN0616
      Participant
      Post count: 13

      Szabi,

      Perfect. Thanks again for great support!

      On a side note: how can I purchase the “extend licensing” I have seen mentioned in a few of these support forum threads? Is that still available?

      I have 3 sites in total I would like to run your plugin on. The 500 API calls/day is going to be more than enough for what I have planned. Is there any price break available for purchasing an “extended license”. I might in the future develop a few more sites with the help of your plugins. Just wondering what my best options are here.

       

      Thanks again!

    • #4583


      Szabi – CodeRevolution
      Keymaster
      Post count: 4574

      I am glad to help!

      Yes, you can get the Extended License from CodeCanyon, if you click on the license type on the right of the screen (by default showing ‘Regular License’) and select ‘Extended License’. Screenshot: https://ibb.co/s2bN5DY

      You can use the Extended License for any number of sites, as long as you fit into the 500 API call amount. You can also increase the 500 API call count if you purchase more licenses or subscribe for the API on RapidAPI: https://rapidapi.com/caddytzitzy/api/newsomaticapi

      I hope this info helps.

      Regards.

Viewing 3 reply threads

The topic ‘Need advice on rendering and placing Twitter embeds.’ is closed to new replies.