저는 shopify가 처음이에요. 제가 작업하고있는 웹 사이트에 Instagram 피드를 추가하고 싶었습니다. 이 웹 사이트는 Retina 테마를 사용하고 있으며 이것이 업데이트 된 테마는 아니라고 생각합니다. shopify 홈페이지에 스 테이블 어 피드 누락에 관한 here과 같은 기사를 읽었으며 액세스 토큰이 있어야한다고 말했습니다. 이제는 내 액세스 토큰을 가지고 있으므로 어떻게해야 할 지 모르겠습니다. 어디서이 토큰을 넣을 수 있니? 어떤 도움이라도 대단히 감사 할 것입니다.shopify의 Instagram 피드 액세스 토큰
답변
음, 코딩 기술이 필요합니다. Shopify Apps Marketplace의 무료 Instagram 앱을 사용해보십시오. 당신은 붙여 복사 & 제외하고 아무것도 할 소스 코드가 필요하지 않습니다 항상 환영 잠재적 인 솔루션
{{ 'instafeed.min.js' | asset_url | script_tag }}
{{ 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css' | stylesheet_tag }}
<h2 class="instagram_heading" style="text-align: center;"><span style="color: #000;">Store Name</span><span style="font-weight:normal;"> On Instagram </span><a target="_blank" href="https://www.instagram.com/shopgear101/"> UserName</a></h2>
<section class="twitter-feed footer-bottom-margin">
<div id="instafeed" class="photo_list list-inline">
</div>
<script type="text/javascript">
var userFeed = new Instafeed({
get: 'user',
userId: 'userid', //Put The user id here..
accessToken: 'accesstoken', //Put The access token here..
limit: '10',
template: '<div class="twitter_img" style="background-image: url\(\{\{image\}\}\)"><div class="inner_image text-center"></div><a target="_blank" href="\{\{link\}\}"><div class="inner_image"><span class="text_like"><i class="fa fa-heart" aria-hidden="true"></i> \{\{likes\}\}</span></div></a></div>'
});
userFeed.run();
</script>
<style>
.twitter_img{
float:left;
position: relative;
width: 20%;
padding-bottom : 20%; /* = width for a 1:1 aspect ratio */
background-position:center center;
background-repeat:no-repeat;
background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
}
.inner_image {
position: absolute;
left: 0;
top: 0;
overflow: hidden;
background: rgba(0, 0 , 0,.5);
color: #fff;
width: 100%;
height: 100%;
opacity: 0;
}
.twitter_img:hover .inner_image{
opacity: 1;
transition: 0.3s ease;
}
.text_like{
font-size: 22px;
position: relative;
top: 47%;
left: 45%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}
@media screen and (max-width: 420px){
.twitter_img{
width: 50%;
height: 190px !important;
}
}
</style>
</section>
답변 해 주셔서 감사합니다. 전에이 질문을 삭제하는 것을 잊었습니다. 나는 그 문제를 직접 해결할 수 있었다. – claudios
그래서 자신의 질문에 대답하고 대답으로 받아 들일 수있는 좋은 생각이 될 것입니다. –
다른 사람들에게 도움이 될 것입니다. @claudios –
- 1. Instagram : 액세스 토큰 유효성
- 2. Instagram 액세스 토큰
- 3. Instagram 액세스 토큰 생성기 생성
- 4. 페이지의 instagram 액세스 토큰 검색
- 5. Instagram PHP 코드에서 액세스 토큰 가져 오기
- 6. Instagram 앱의 OAuth 액세스 토큰 만료
- 7. 로그인하지 않고 Instagram 액세스 토큰 가져 오기
- 8. Instagram 홈 페이지 피드
- 9. Instagram PHP 피드 제한
- 10. 자체 피드 용 Instagram 인증?
- 11. Instagram 피드 이미지가 표시되지 않습니다.
- 12. Instagram RSS PHP 스크립트의 피드
- 13. Instagram 액세스 토큰을 사용하여 모든 사용자 피드 검색
- 14. Instagram 친구 미디어 피드 (홈 타임 라인)에 액세스 하시겠습니까?
- 15. Instagram 토큰 및 한계 이해
- 16. Instagram gem 요청에 대한 인트라램 액세스 토큰 가져 오기
- 17. 페이지를 다시로드하지 않고 Instagram 액세스 토큰 가져 오기
- 18. 클라이언트 비밀 대 액세스 토큰 레일 Instagram API
- 19. 태그와 위치 정보에 기반한 Instagram 피드
- 20. Instagram 피드 용 이미지 롤 오버
- 21. Instagram 사진 액세스 방법
- 22. Instagram API 액세스 한도
- 23. 페이스 북 타임 라인 피드 용 앱 액세스 토큰 사용
- 24. SSkeychain을 사용하여 액세스 토큰 저장
- 25. Instagram API
- 26. Facebook 용 액세스 토큰 업데이트
- 27. 피드 액세스 제어
- 28. JSON 피드 데이터에 액세스
- 29. 피드 오프라인 액세스
- 30. Passport-auth0 액세스 액세스 토큰
링크를하지만, 경우에 미래의 방문자에 대한 몇 가지 세부 사항을 추가하십시오 링크가 제거됩니다. –