小编Dav*_*avi的帖子

如何解决 gif 共享 facebook sharer.php 的问题

我在共享时对 facebook 共享器有疑问,生成文件路径并在 facebook 上共享准备在用户时间线上显示的本机 gif。当然我正在使用

.qa_html ($ this-> content ['description']).
Run Code Online (Sandbox Code Playgroud)

这是最终 .gif 文件的目的地

.qa_html ($ shareurl). 是出版物的网址是我希望用户在单击左下角 facebook 上的网站按钮以及下图中时重定向到的网址。


在此处输入图片说明


有人可以告诉我如何通过在用户的时间轴上显示本机 gif 但使用基于此信息的发布地址来更改对 facebook 的共享吗?


我的元变量

$this->output('<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />');
        $this->head_links();
        if ($this->template == 'question' && strpos(qa_get_state(), 'edit')===false ) {
                $pagetitle=strlen($this->request) ? strip_tags($this->content['title']) : '';
                $headtitle=(strlen($pagetitle) ? ($pagetitle.'') : '');

                $this->output('<meta property="og:url" content="'.qa_html( $this->content['canonical'] ).'" />');
                $this->output('<meta property="og:type" content="article" />');
                $this->output('<meta property="og:title" content="'.qa_html( $headtitle ).'" />');
                $this->output('<meta property="og:description" content="Click To Watch" />');
                $this->output('<meta property="og:image" content="'.qa_html( $this->content['description'] ).'"/>'); …
Run Code Online (Sandbox Code Playgroud)

php facebook

5
推荐指数
0
解决办法
147
查看次数

标签 统计

facebook ×1

php ×1