Code Monkey home page Code Monkey logo

instagram's Introduction

Hi there 👋

<?php

namespace App\Developer;

#[AsHuman]
final class SvenPetersen extends SymfonyDeveloper implements DeveloperInterface
{
    use Symfony;
    use TYPO3;
    use Twig;
    use Stimulus;
    use HotwiredTurbo;

    public const string FIRST_NAME = 'Sven';
    public const string LAST_NAME = 'Petersen';
    
    public function __construct(
        private \DateTimeImmutable $birthDate = new \DateTimeImmutable('1990-03-04'),
        private string $email = '[email protected]',
        private array $currentCompanies = [
            'Dauskonzept GmbH'          => 'Webdeveloper',        // https://dauskonzept.de
            'HardAnders GbR' => 'Founder & Developer', // https://hardanders.de
        ],
        private string $currentCity = 'Schafflund, Germany'
    ) {
    }
    
    public function isOpenForFreelanceWork(): bool
    {
        return true;
    }
}

instagram's People

Contributors

drprofesq avatar matthaeus-dauskonzept avatar svenpet90 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

instagram's Issues

Add Subtypes for Entity Post

Consider using sub types for entity "Post" to differentiate between "Image", "Video" and "Carousel" posts - just as EXT:news does it.

e.g. a thumbnail is only present on a "VideoPost" subtype.

Would make the structure cleaner and easily extendable in case instagram would invent a new type of post.

Remove bootstrap CSS classes from templates

Currently the default templates are using a few bootstrap classes which makes them (even if ever so slightly) opinionated.

SInce I suspect every user of this EXT to overwrite the templates anyway these bootstrap classes should be removed :-)
Just for sanity sake.

Add cObjectData to Templates

Version

instagram 2.0.1

Short problem description

cObjectData (data from tt_content) isn't available in Fluid-Templates

Server configuration

**TYPO3 version: 12.4
**PHP version: 8.2

[FEATURE] Add option to set "until" and "since" as parameters for post import

The Instagram API endpoint offers the option to set time constraints for posts to output.

We should offer options in the instagram:import:posts command to optionally set these.

Would be useful if one would only like to import posts from the current month/year/week or nothing older than a given date.

See official docs for more information: https://developers.facebook.com/docs/instagram-basic-display-api/reference/user/media#abfrage-string-parameter

[FEATURE] Add "mediaType" to extended news model

import the instagrams post media_type (IMAGE, VIDEO, CAROUSEL_ALBUM) the "Instagram" news subtype

This field is handy when rendering the post in the frontend.

Todo:

  • Extend NewsInstagram Entity
  • Add call to ->setMediaType() in the PostUpserter

Entity "Post": Unify fields "images" & "video" into one field "media"

Currently a Post Entity has 2 FAL Fields: "images" and "videos".
This is not nessesary and should be streamlined into one field: "media"

To avoid a BC break we should keep the getImages() and getVideos() function in Entity Post - but make then sort out the appropriate files to return.

Also we should mark these getters as deprecated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.